X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/1b1535d5f9223ff338864505177a91f89f15be4f..feaf88f721ae706a43e144f7b7975d915aad4d7e:/tools/Makefile?ds=sidebyside diff --git a/tools/Makefile b/tools/Makefile index 6e364af7a..5a5c728ab 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))