You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

50 lines
1.2 KiB

  1. #
  2. # Copyright (C) 2014 Bruno Randolf <br1@einfach.org>
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. include $(INCLUDE_DIR)/kernel.mk
  9. PKG_NAME:=exfat-nofuse
  10. PKG_RELEASE:=1
  11. PKG_SOURCE_URL:=https://github.com/dorimanx/exfat-nofuse.git
  12. PKG_SOURCE_PROTO:=git
  13. PKG_SOURCE_DATE:=2017-06-20
  14. PKG_SOURCE_VERSION:=de4c760bc9a05ead83bc3ec6eec6cf1fb106f523
  15. PKG_MIRROR_HASH:=2aa53a83daf4be46e437842ee67d2e0ea327642cb6b8856a79153b52ec726a57
  16. PKG_MAINTAINER:=Yousong Zhou <yszhou4tech@gmail.com>
  17. PKG_LICENSE:=GPL-2.0
  18. PKG_LICENSE_FILES:=LICENSE
  19. include $(INCLUDE_DIR)/package.mk
  20. define KernelPackage/fs-exfat
  21. SUBMENU:=Filesystems
  22. TITLE:=ExFAT Kernel driver
  23. FILES:=$(PKG_BUILD_DIR)/exfat.ko
  24. AUTOLOAD:=$(call AutoLoad,30,exfat,1)
  25. DEPENDS:=+kmod-nls-base @BUILD_PATENTED
  26. endef
  27. define KernelPackage/fs-exfat/description
  28. Kernel module for ExFAT Filesytems
  29. endef
  30. MAKE_OPTS:= \
  31. ARCH="$(LINUX_KARCH)" \
  32. CROSS_COMPILE="$(TARGET_CROSS)" \
  33. M="$(PKG_BUILD_DIR)"
  34. define Build/Compile
  35. $(MAKE) -C "$(LINUX_DIR)" \
  36. $(MAKE_OPTS) \
  37. CONFIG_EXFAT_FS=m \
  38. modules
  39. endef
  40. $(eval $(call KernelPackage,fs-exfat))