aboutsummaryrefslogtreecommitdiffstats
path: root/include/scan.mk
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
commitf0a180486c758c687646578287913bbfb41b40b8 (patch)
tree9cf0f6ca5044575cdaf4257eedc9c0a0646280d1 /include/scan.mk
parent49ed9d2da5b4b80b3481a453bacb8b2097788053 (diff)
downloadupstream-f0a180486c758c687646578287913bbfb41b40b8.tar.gz
upstream-f0a180486c758c687646578287913bbfb41b40b8.tar.bz2
upstream-f0a180486c758c687646578287913bbfb41b40b8.zip
detect changes in package/kernel/modules/*.mk when scanning the package metadata
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6746 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include/scan.mk')
-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