detect changes in package/kernel/modules/*.mk when scanning the package metadata
authorFelix Fietkau <nbd@openwrt.org>
Wed, 28 Mar 2007 18:06:33 +0000 (18:06 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 28 Mar 2007 18:06:33 +0000 (18:06 +0000)
SVN-Revision: 6746

include/scan.mk

index ff23e09..a7f74ec 100644 (file)
@@ -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