diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-03-28 18:06:33 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-03-28 18:06:33 +0000 |
commit | 1d87934c5561dcadd4a46d977f4bc19b678ad10e (patch) | |
tree | 9cf0f6ca5044575cdaf4257eedc9c0a0646280d1 /include | |
parent | 12120339e27533c84ef0ae388827f4fe7d4d86b6 (diff) |
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')
-rw-r--r-- | include/scan.mk | 5 |
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 |