X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=blobdiff_plain;f=include%2Fhost.mk;h=ec3ae276a429809acefa78ff4a719ea0ee7ff335;hp=4ca81400e965ba9c32b3761f33533d2a46bb29be;hb=d55512075b368ef060eae5f41b946a96936d1ceb;hpb=16e1d82460ce939daeceac857c2de207e34468c7 diff --git a/include/host.mk b/include/host.mk index 4ca81400e9..ec3ae276a4 100644 --- a/include/host.mk +++ b/include/host.mk @@ -1,4 +1,4 @@ -# +# # Copyright (C) 2007-2015 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. @@ -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; \