summaryrefslogtreecommitdiffstats
path: root/include/host.mk
diff options
context:
space:
mode:
Diffstat (limited to 'include/host.mk')
-rw-r--r--include/host.mk2
1 files changed, 2 insertions, 0 deletions
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; \