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.

44 lines
1.1 KiB

  1. include $(TOPDIR)/rules.mk
  2. include $(INCLUDE_DIR)/kernel.mk
  3. PKG_NAME:=antfs
  4. PKG_RELEASE:=2
  5. PKG_SOURCE_URL:=https://github.com/klukonin/antfs.git
  6. PKG_SOURCE_PROTO:=git
  7. PKG_SOURCE_DATE:=2020-02-10
  8. PKG_SOURCE_VERSION:=b41ba529f6b64b429527e09a06ce0326d5456c05
  9. PKG_MIRROR_HASH:=dae039c0fe5bf1a2c8c1cca4211d607a4d6f56fc41b38444e2234b40d710d9db
  10. PKG_LICENSE:=GPL-2.0-or-later
  11. PKG_LICENSE_FILES:=LICENSE
  12. include $(INCLUDE_DIR)/package.mk
  13. define KernelPackage/fs-antfs
  14. SUBMENU:=Filesystems
  15. TITLE:=AVM NTFS Read/Write Driver
  16. FILES:=$(PKG_BUILD_DIR)/antfs.ko
  17. AUTOLOAD:=$(call AutoLoad,30,antfs,1)
  18. DEPENDS:=+kmod-nls-base @LINUX_5_10
  19. endef
  20. define KernelPackage/fs-antfs/description
  21. Kernel module for NTFS Filesytem
  22. endef
  23. MAKE_OPTS:= \
  24. ARCH="$(LINUX_KARCH)" \
  25. CROSS_COMPILE="$(TARGET_CROSS)" \
  26. M="$(PKG_BUILD_DIR)"
  27. define Build/Compile
  28. $(MAKE) -C "$(LINUX_DIR)" \
  29. $(MAKE_OPTS) \
  30. CONFIG_ANTFS_FS=m \
  31. CONFIG_ANTFS_SYMLINKS=y \
  32. ANTFS_VERSION=07.19-$(call version_abbrev,$(PKG_SOURCE_VERSION)) \
  33. modules
  34. endef
  35. $(eval $(call KernelPackage,fs-antfs))