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
:=47162495bdf9a7e02d6142dfcd4364d7325a4cf75a0439926cf9e8a9d959627b
18 PKG_LICENSE
:=GPL-2.0
-only
20 #PKG_BUILD_PARALLEL:=1
23 # exfat-oot's makefile needs this to know where to build the kernel module
24 #export KERNELDIR:=$(LINUX_DIR)
26 include $(INCLUDE_DIR
)/package.mk
27 #include $(INCLUDE_DIR)/kernel-defaults.mk
29 TAR_OPTIONS
+= --strip-components
1
30 TAR_CMD
=$(HOST_TAR
) -C
$(1) $(TAR_OPTIONS
)
32 define KernelPackage
/fs-exfat
34 CATEGORY
:=Kernel modules
36 TITLE
:=exFAT kernel module
37 FILES
:=$(PKG_BUILD_DIR
)/exfat.ko
38 AUTOLOAD
:=$(call AutoProbe
,exfat
)
41 define KernelPackage
/exfat
/description
42 This package provides the kernel module for exfat.
46 $(KERNEL_MAKE
) M
="$(PKG_BUILD_DIR)" \
47 EXTRA_CFLAGS
="$(EXTRA_CFLAGS)" \
48 $(PKG_EXTRA_KCONFIG
) \
51 # $(MAKE) -C $(KERNEL_BUILD_DIR)/linux-$(LINUX_VERSION) M="$(PKG_BUILD_DIR)" modules
54 $(eval
$(call KernelPackage
,fs-exfat
))