From 36b75197e31bf5ee881739c750a9a9c4fbdff582 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Wed, 28 Mar 2007 18:06:33 +0000 Subject: [PATCH] detect changes in package/kernel/modules/*.mk when scanning the package metadata SVN-Revision: 6746 --- include/scan.mk | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 2.25.1