From: Jo-Philipp Wich Date: Tue, 10 Feb 2015 15:49:17 +0000 (+0000) Subject: include: export staging_dir/host/bin path from within host.mk (#18957) X-Git-Tag: reboot~4330 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=6205e3324d75a8602875b1360e6b1c7f9cd49528;p=openwrt%2Fstaging%2Fpepe2k.git include: export staging_dir/host/bin path from within host.mk (#18957) We need to do that to pickup the prereq-build prepared symlinks for auxillary operations like metadata scanning. Signed-off-by: Jo-Philipp Wich SVN-Revision: 44378 --- diff --git a/include/host.mk b/include/host.mk index 4ca81400e9..f7368de85c 100644 --- a/include/host.mk +++ b/include/host.mk @@ -13,6 +13,8 @@ endif ifneq ($(__host_inc),1) __host_inc:=1 +export PATH:=$(TOPDIR)/staging_dir/host/bin:$(PATH) + try-run = $(shell set -e; \ TMP_F="$(TMP_DIR)/try-run.$$$$.tmp"; \ if ($(1)) >/dev/null 2>&1; then echo "$(2)"; else echo "$(3)"; fi; \