From 1d87934c5561dcadd4a46d977f4bc19b678ad10e Mon Sep 17 00:00:00 2001 From: nbd Date: Wed, 28 Mar 2007 18:06:33 +0000 Subject: 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 --- include/scan.mk | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include') 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 -- cgit v1.2.3