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.

52 lines
1.3 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_VERSION=2017-01-03-$(PKG_SOURCE_VERSION)
  11. PKG_RELEASE:=1
  12. PKG_SOURCE=$(PKG_NAME)-$(PKG_VERSION).tar.xz
  13. PKG_MIRROR_HASH:=80abb670a59dfa62413e600cee7d13fc65b9980e00579edaa2573fab8568fe93
  14. PKG_SOURCE_URL:=https://github.com/dorimanx/exfat-nofuse.git
  15. PKG_SOURCE_PROTO:=git
  16. PKG_SOURCE_SUBDIR=$(PKG_NAME)-$(PKG_VERSION)
  17. PKG_SOURCE_VERSION:=8d291f525ce6d88fe0d8b11b86fd5c2e900401d3
  18. PKG_MAINTAINER:=Bruno Randolf <br1@einfach.org>
  19. PKG_LICENSE:=GPL-2.0
  20. PKG_LICENSE_FILES:=LICENSE
  21. include $(INCLUDE_DIR)/package.mk
  22. define KernelPackage/fs-exfat
  23. SUBMENU:=Filesystems
  24. TITLE:=ExFAT Kernel driver
  25. FILES:=$(PKG_BUILD_DIR)/exfat.ko
  26. AUTOLOAD:=$(call AutoLoad,30,exfat,1)
  27. DEPENDS:=+kmod-nls-base @BUILD_PATENTED
  28. endef
  29. define KernelPackage/fs-exfat/description
  30. Kernel module for ExFAT Filesytems
  31. endef
  32. MAKE_OPTS:= \
  33. ARCH="$(LINUX_KARCH)" \
  34. CROSS_COMPILE="$(TARGET_CROSS)" \
  35. M="$(PKG_BUILD_DIR)"
  36. define Build/Compile
  37. $(MAKE) -C "$(LINUX_DIR)" \
  38. $(MAKE_OPTS) \
  39. CONFIG_EXFAT_FS=m \
  40. modules
  41. endef
  42. $(eval $(call KernelPackage,fs-exfat))