Browse Source

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 <[email protected]>
Signed-off-by: Yousong Zhou <[email protected]>
Yousong Zhou 6 years ago
parent
commit
eda3094eb9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      include/kernel.mk

+ 1 - 1
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