summaryrefslogtreecommitdiff
path: root/include/scan.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-05-23 21:11:48 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-05-23 21:11:48 +0000
commit2555097cc691246108bc11115763d3b1c2cc4897 (patch)
treee8eb906cf8509ba250f47ec77027ae5108df1299 /include/scan.mk
parent0f9285a745233f8a6b6cfc902344eca55d7b3e1e (diff)
downloadmtk-20170518-2555097cc691246108bc11115763d3b1c2cc4897.zip
mtk-20170518-2555097cc691246108bc11115763d3b1c2cc4897.tar.gz
mtk-20170518-2555097cc691246108bc11115763d3b1c2cc4897.tar.bz2
fix target rescan (version kernel changes)
SVN-Revision: 7317
Diffstat (limited to 'include/scan.mk')
-rw-r--r--include/scan.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/scan.mk b/include/scan.mk
index 1597112..976eb38 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) $(SCAN_DEPS)
- tmp/info/.$(SCAN_TARGET)-$(FILE): $(SCAN_DIR)/$(FILE)/Makefile $(SCAN_STAMP)
+ tmp/.$(SCAN_TARGET): tmp/info/.$(SCAN_TARGET)-$(FILE) $(SCAN_TARGET_DEPS) $(SCAN_DEPS)
+ tmp/info/.$(SCAN_TARGET)-$(FILE): $(SCAN_DIR)/$(FILE)/Makefile $(SCAN_STAMP) $(SCAN_TARGET_DEPS)
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; \