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 <jow@openwrt.org>

SVN-Revision: 44378
lede-17.01
Jo-Philipp Wich 2015-02-10 15:49:17 +00:00
parent 2efe776ab0
commit 6205e3324d
1 changed files with 2 additions and 0 deletions

View File

@ -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; \