X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/1d45d04ef7ca05ad12690e8d1e467b540df9f9ac..6726f607d6876d2e71583685f1242a6a0899c498:/include/scan.mk diff --git a/include/scan.mk b/include/scan.mk index ff23e0961..a7f74ecec 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