aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYousong Zhou <yszhou4tech@gmail.com>2016-11-24 00:03:38 +0800
committerFelix Fietkau <nbd@nbd.name>2016-11-24 12:53:18 +0100
commit62da60b22032b59a52b0671a40c59105bdee8c55 (patch)
tree16f6f154180114931b8a3b1a95a47ccb09cbeaeb
parent426e4d93bb2a36022f505d7dddeb7571dcd0b524 (diff)
downloadupstream-62da60b22032b59a52b0671a40c59105bdee8c55.tar.gz
upstream-62da60b22032b59a52b0671a40c59105bdee8c55.tar.bz2
upstream-62da60b22032b59a52b0671a40c59105bdee8c55.zip
build: scan.mk: remove not used variable SCAN_STAMP
It was left behind since rewrite of metadata scanning done with commit bdc9419 in July 2007 Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
-rw-r--r--include/scan.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/scan.mk b/include/scan.mk
index 5bb263d713..e6bc0688b7 100644
--- a/include/scan.mk
+++ b/include/scan.mk
@@ -28,7 +28,7 @@ endef
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)/$(2)/Makefile) $(SCAN_DEPS),$(wildcard $(if $(filter /%,$(DEP)),$(DEP),$(SCAN_DIR)/$(2)/$(DEP))))
+ $(TMP_DIR)/info/.$(SCAN_TARGET)-$(1): $(SCAN_DIR)/$(2)/Makefile $(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; \
@@ -93,7 +93,7 @@ $(TARGET_STAMP)::
} \
)
-$(TMP_DIR)/.$(SCAN_TARGET): $(TARGET_STAMP) $(SCAN_STAMP)
+$(TMP_DIR)/.$(SCAN_TARGET): $(TARGET_STAMP)
$(call progress,Collecting $(SCAN_NAME) info: merging...)
-cat $(FILELIST) | awk '{gsub(/\//, "_", $$0);print "$(TMP_DIR)/info/.$(SCAN_TARGET)-" $$0}' | xargs cat > $@ 2>/dev/null
$(call progress,Collecting $(SCAN_NAME) info: done)