exfat-nofuse: use $(KERNEL_MAKE) to account for reproducible build
authorYousong Zhou <redacted>
Thu, 21 May 2020 10:46:36 +0000 (18:46 +0800)
committerYousong Zhou <redacted>
Thu, 21 May 2020 11:10:19 +0000 (19:10 +0800)
This leverages on -iremap flag embedded there since the build system
commit 4ed356fa719e ("kernel.mk: add KCFLAGS to make kmods reproducible")

Reported-by: Paul Spooren <redacted>
Signed-off-by: Yousong Zhou <redacted>
kernel/exfat-nofuse/Makefile

index 7ea049831eff9195a02142f9dec5e1bd84d56530..f9110b7332bf642be2156466fd43d9d0c4782aa5 100644 (file)
@@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
 include $(INCLUDE_DIR)/kernel.mk
 
 PKG_NAME:=exfat-nofuse
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_SOURCE_URL:=https://github.com/dorimanx/exfat-nofuse.git
 PKG_SOURCE_PROTO:=git
@@ -36,15 +36,10 @@ define KernelPackage/fs-exfat0/description
        Kernel module for ExFAT Filesytems
 endef
 
-MAKE_OPTS:= \
-       ARCH="$(LINUX_KARCH)" \
-       CROSS_COMPILE="$(TARGET_CROSS)" \
-       M="$(PKG_BUILD_DIR)"
-
 define Build/Compile
-       $(MAKE) -C "$(LINUX_DIR)" \
-               $(MAKE_OPTS) \
+       $(KERNEL_MAKE) \
                CONFIG_EXFAT_FS=m \
+               M="$(PKG_BUILD_DIR)" \
                modules
 endef
 
git clone https://git.99rst.org/PROJECT