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. #
  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=2016-09-26-$(PKG_SOURCE_VERSION)
  11. PKG_RELEASE:=1
  12. PKG_SOURCE=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  13. PKG_SOURCE_URL:=https://github.com/dorimanx/exfat-nofuse.git
  14. PKG_SOURCE_PROTO:=git
  15. PKG_SOURCE_SUBDIR=$(PKG_NAME)-$(PKG_VERSION)
  16. PKG_SOURCE_VERSION:=051167ceccbe75d9d77fc4f5356f5a39a01779e8
  17. PKG_MAINTAINER:=Bruno Randolf <br1@einfach.org>
  18. PKG_LICENSE:=GPL-2.0
  19. PKG_LICENSE_FILES:=LICENSE
  20. include $(INCLUDE_DIR)/package.mk
  21. define KernelPackage/fs-exfat
  22. SUBMENU:=Filesystems
  23. TITLE:=ExFAT Kernel driver
  24. FILES:=$(PKG_BUILD_DIR)/exfat.ko
  25. AUTOLOAD:=$(call AutoLoad,30,exfat,1)
  26. DEPENDS:=+kmod-nls-base @BUILD_PATENTED
  27. endef
  28. define KernelPackage/fs-exfat/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-exfat))