From: Felix Fietkau Date: Fri, 19 Jul 2013 10:52:56 +0000 (+0000) Subject: build: SCAN_DEPS handling (fixes package/kernel/linux metadata change detection) X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=75df42e578094fba85c2ddd7ad402e4f24545479;p=openwrt%2Fstaging%2Fwigyori.git build: SCAN_DEPS handling (fixes package/kernel/linux metadata change detection) Signed-off-by: Felix Fietkau SVN-Revision: 37431 --- diff --git a/include/scan.mk b/include/scan.mk index b2b202d12b..4d08ee8f0e 100644 --- a/include/scan.mk +++ b/include/scan.mk @@ -23,7 +23,7 @@ endif define PackageDir $(TMP_DIR)/.$(SCAN_TARGET): $(TMP_DIR)/info/.$(SCAN_TARGET)-$(1) - $(TMP_DIR)/info/.$(SCAN_TARGET)-$(1): $(SCAN_DIR)/$(2)/Makefile $(SCAN_STAMP) $(foreach DEP,$(DEPS_$(SCAN_DIR)/$(1)/Makefile) $(SCAN_DEPS),$(wildcard $(if $(filter /%,$(DEP)),$(DEP),$(SCAN_DIR)/$(1)/$(DEP)))) + $(TMP_DIR)/info/.$(SCAN_TARGET)-$(1): $(SCAN_DIR)/$(2)/Makefile $(SCAN_STAMP) $(foreach DEP,$(DEPS_$(SCAN_DIR)/$(2)/Makefile) $(SCAN_DEPS),$(wildcard $(if $(filter /%,$(DEP)),$(DEP),$(SCAN_DIR)/$(2)/$(DEP)))) { \ $$(call progress,Collecting $(SCAN_NAME) info: $(SCAN_DIR)/$(2)) \ echo Source-Makefile: $(SCAN_DIR)/$(2)/Makefile; \