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.

51 lines
1.2 KiB

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