X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;ds=sidebyside;f=include%2Fhost.mk;h=f7368de85c2b6e8fe7e0059d23bdee1fa037b4b2;hb=6205e3324d75a8602875b1360e6b1c7f9cd49528;hp=4ca81400e965ba9c32b3761f33533d2a46bb29be;hpb=2efe776ab082723fe94e91ae7d45e65480bb3faa;p=openwrt%2Fopenwrt.git 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; \