aboutsummaryrefslogtreecommitdiffstats
path: root/tools/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-09-01 17:51:36 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-09-01 17:51:36 +0000
commite3b691c96cb0fbdaab4461c9c5e9ed929e75d29c (patch)
tree6494d9962dbf72a8fe354140ec353be7e0a5f879 /tools/Makefile
parentf89321fc27ef37f22165f9328dfeb339de64e173 (diff)
downloadmaster-187ad058-e3b691c96cb0fbdaab4461c9c5e9ed929e75d29c.tar.gz
master-187ad058-e3b691c96cb0fbdaab4461c9c5e9ed929e75d29c.tar.bz2
master-187ad058-e3b691c96cb0fbdaab4461c9c5e9ed929e75d29c.zip
add a command for printing a cleaned up make target database - will be used to analyze package dependencies at some point
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22871 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'tools/Makefile')
-rw-r--r--tools/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/Makefile b/tools/Makefile
index 6e364af7a9..5a5c728ab7 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -54,6 +54,7 @@ $(curdir)/upslug2/compile := $(curdir)/automake/install
$(curdir)/builddirs := $(tools-y) $(tools-dep) $(tools-)
$(curdir)/builddirs-default := $(tools-y)
+ifndef DUMP_TARGET_DB
define PrepareStaging
@for dir in $(1); do ( \
set -x; \
@@ -84,6 +85,7 @@ $(STAGING_DIR_HOST)/bin/$(1): $(STAGING_DIR)/.prepared
}; ln -s "$$$$FILE" "$$@"
endef
+endif
$(eval $(call PrepareCommand,find,gfind find))
$(eval $(call PrepareCommand,md5sum,md5sum $(SCRIPT_DIR)/md5sum))