aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-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