1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-11-05 22:19:32 +01:00

detect changes in package/kernel/modules/*.mk when scanning the package metadata

SVN-Revision: 6746
This commit is contained in:
Felix Fietkau 2007-03-28 18:06:33 +00:00
parent e71ae20b0b
commit 36b75197e3

@ -32,6 +32,11 @@ $(SCAN_STAMP):
touch $@ touch $@
endif endif
# FIXME: generate this dynamically?
ifeq ($(SCAN_TARGET),pkginfo)
tmp/info/.pkginfo-kernel: $(shell ls package/kernel/modules/*.mk)
endif
define scanfiles define scanfiles
$(foreach FILE,$(SCAN), $(foreach FILE,$(SCAN),
tmp/.$(SCAN_TARGET): tmp/info/.$(SCAN_TARGET)-$(FILE) FORCE tmp/.$(SCAN_TARGET): tmp/info/.$(SCAN_TARGET)-$(FILE) FORCE