X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/947ca6f4e8cf3e67ce50d0af0f669e1099d6ea8c..e3101f5c1df3cce83656d99342cb2f36c1ba4329:/include/scan.mk diff --git a/include/scan.mk b/include/scan.mk index 5bbfce566..1597112d0 100644 --- a/include/scan.mk +++ b/include/scan.mk @@ -38,8 +38,8 @@ endif define scanfiles $(foreach FILE,$(SCAN), - tmp/.$(SCAN_TARGET): tmp/info/.$(SCAN_TARGET)-$(FILE) FORCE - tmp/info/.$(SCAN_TARGET)-$(FILE): $(SCAN_DEPS) $(SCAN_DIR)/$(FILE)/Makefile $(SCAN_STAMP) + tmp/.$(SCAN_TARGET): tmp/info/.$(SCAN_TARGET)-$(FILE) $(SCAN_DEPS) + tmp/info/.$(SCAN_TARGET)-$(FILE): $(SCAN_DIR)/$(FILE)/Makefile $(SCAN_STAMP) grep -E 'include (\$$$$\(INCLUDE_DIR\)|\$$$$\(TOPDIR\)/include)/' $(SCAN_DIR)/$(FILE)/Makefile >/dev/null && { \ $$(call progress,Collecting $(SCAN_NAME) info: $(SCAN_DIR)/$(FILE)) \ echo Source-Makefile: $(SCAN_DIR)/$(FILE)/Makefile; \