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:=2018-04-17
  14. PKG_SOURCE_VERSION:=01c30ad52625a7261e1b0d874553b6ca7af25966
  15. PKG_MIRROR_HASH:=47e3b6b8384e4beaa07dc762f4e0cce9a067750cbb4b2fb4ba18d2348038c270
  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))