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 <zajec5@gmail.com>
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
This commit is contained in:
Yousong Zhou 2018-12-17 13:07:19 +00:00
parent 583af20b8b
commit eda3094eb9

View File

@ -259,7 +259,7 @@ $(call KernelPackage/$(1)/config)
endif endif
$$(eval $$(call BuildPackage,kmod-$(1))) $$(eval $$(call BuildPackage,kmod-$(1)))
$$(IPKG_kmod-$(1)): $$(wildcard $$(FILES)) $$(IPKG_kmod-$(1)): $$(wildcard $$(call version_filter,$$(FILES)))
endef endef