summaryrefslogtreecommitdiff
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
commit36b75197e31bf5ee881739c750a9a9c4fbdff582 (patch)
treebfc6952494733264bc9da2d4288a4473b483416d /include/scan.mk
parente71ae20b0bd6ea6d75637fb5fbfd54992b566c53 (diff)
downloadmtk-20170518-36b75197e31bf5ee881739c750a9a9c4fbdff582.zip
mtk-20170518-36b75197e31bf5ee881739c750a9a9c4fbdff582.tar.gz
mtk-20170518-36b75197e31bf5ee881739c750a9a9c4fbdff582.tar.bz2
detect changes in package/kernel/modules/*.mk when scanning the package metadata
SVN-Revision: 6746
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 ff23e09..a7f74ec 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