aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-03-28 18:06:33 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-03-28 18:06:33 +0000
commit36b75197e31bf5ee881739c750a9a9c4fbdff582 (patch)
treebfc6952494733264bc9da2d4288a4473b483416d /include
parente71ae20b0bd6ea6d75637fb5fbfd54992b566c53 (diff)
downloadupstream-36b75197e31bf5ee881739c750a9a9c4fbdff582.tar.gz
upstream-36b75197e31bf5ee881739c750a9a9c4fbdff582.tar.bz2
upstream-36b75197e31bf5ee881739c750a9a9c4fbdff582.zip
detect changes in package/kernel/modules/*.mk when scanning the package metadata
SVN-Revision: 6746
Diffstat (limited to 'include')
-rw-r--r--include/scan.mk5
1 files changed, 5 insertions, 0 deletions
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