From eda3094eb974cc0540562ae710ea543e037632ba Mon Sep 17 00:00:00 2001 From: Yousong Zhou Date: Mon, 17 Dec 2018 13:07:19 +0000 Subject: [PATCH] build: fix build dependency of kmod .ipk with version filtered files MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- include/kernel.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2