diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2015-02-10 15:49:17 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2015-02-10 15:49:17 +0000 |
commit | 6205e3324d75a8602875b1360e6b1c7f9cd49528 (patch) | |
tree | f918d3e8add98e8deb9b39710226c646a5c9f80b /include/host.mk | |
parent | 2efe776ab082723fe94e91ae7d45e65480bb3faa (diff) | |
download | mtk-20170518-6205e3324d75a8602875b1360e6b1c7f9cd49528.zip mtk-20170518-6205e3324d75a8602875b1360e6b1c7f9cd49528.tar.gz mtk-20170518-6205e3324d75a8602875b1360e6b1c7f9cd49528.tar.bz2 |
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
Diffstat (limited to 'include/host.mk')
-rw-r--r-- | include/host.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/host.mk b/include/host.mk index 4ca8140..f7368de 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; \ |