From: Yousong Zhou Date: Mon, 17 Dec 2018 13:07:19 +0000 (+0000) Subject: build: fix build dependency of kmod .ipk with version filtered files X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=eda3094eb974cc0540562ae710ea543e037632ba;p=openwrt%2Fstaging%2Fxback.git build: fix build dependency of kmod .ipk with version filtered files We need to use resolved file list as prerequisites for repacking kmod .ipk files. Note that currently version_filter uses a Makefile macro KERNEL_PATCHVER that should be available at ipk building time. Reported-by: Rafał Miłecki Signed-off-by: Yousong Zhou --- diff --git a/include/kernel.mk b/include/kernel.mk index 38613756c7..19ecf4fa9a 100644 --- a/include/kernel.mk +++ b/include/kernel.mk @@ -259,7 +259,7 @@ $(call KernelPackage/$(1)/config) endif $$(eval $$(call BuildPackage,kmod-$(1))) - $$(IPKG_kmod-$(1)): $$(wildcard $$(FILES)) + $$(IPKG_kmod-$(1)): $$(wildcard $$(call version_filter,$$(FILES))) endef