From: Felix Fietkau Date: Wed, 28 Mar 2007 18:06:33 +0000 (+0000) Subject: detect changes in package/kernel/modules/*.mk when scanning the package metadata X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=36b75197e31bf5ee881739c750a9a9c4fbdff582;p=librecmc%2Flibrecmc.git detect changes in package/kernel/modules/*.mk when scanning the package metadata SVN-Revision: 6746 --- diff --git a/include/scan.mk b/include/scan.mk index ff23e0961c..a7f74ecec8 100644 --- a/include/scan.mk +++ b/include/scan.mk @@ -32,6 +32,11 @@ $(SCAN_STAMP): touch $@ endif +# FIXME: generate this dynamically? +ifeq ($(SCAN_TARGET),pkginfo) +tmp/info/.pkginfo-kernel: $(shell ls package/kernel/modules/*.mk) +endif + define scanfiles $(foreach FILE,$(SCAN), tmp/.$(SCAN_TARGET): tmp/info/.$(SCAN_TARGET)-$(FILE) FORCE