瀏覽代碼

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 年之前
父節點
當前提交
eda3094eb9
共有 1 個文件被更改,包括 1 次插入1 次删除
  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