2 # This is free software, licensed under the GNU General Public License v2.
3 # See /LICENSE for more information.
6 include $(TOPDIR
)/rules.mk
7 include $(INCLUDE_DIR
)/kernel.mk
13 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
14 PKG_SOURCE_URL
:=https
://codeload.github.com
/namjaejeon
/linux-exfat-oot
/tar.gz
/$(PKG_VERSION
)?
15 PKG_HASH
:=20254677bed3f456e89cc9d757c1a47abbadab4d75640eef4a995370a37be3f4
18 PKG_LICENSE
:=GPL-2.0
-only
20 include $(INCLUDE_DIR
)/package.mk
22 TAR_OPTIONS
+= --strip-components
1
23 TAR_CMD
=$(HOST_TAR
) -C
$(1) $(TAR_OPTIONS
)
25 define KernelPackage
/fs-exfat
27 CATEGORY
:=Kernel modules
29 TITLE
:=exFAT kernel module
30 FILES
:=$(PKG_BUILD_DIR
)/exfat.ko
31 AUTOLOAD
:=$(call AutoProbe
,exfat
)
32 DEPENDS
:= +kmod-nls-base
35 define KernelPackage
/exfat
/description
36 This package provides the kernel module for exfat.
40 $(KERNEL_MAKE
) M
="$(PKG_BUILD_DIR)" \
41 EXTRA_CFLAGS
="$(EXTRA_CFLAGS)" \
42 $(PKG_EXTRA_KCONFIG
) \
47 $(eval
$(call KernelPackage
,fs-exfat
))