X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/00ff299f672bb198eaf876e395e4bb683b26fa93..6f447d09dfa4c4ee2321f327c5b62e79db3f9173:/include/host.mk diff --git a/include/host.mk b/include/host.mk index 1130d5b9a..278ad726f 100644 --- a/include/host.mk +++ b/include/host.mk @@ -9,9 +9,9 @@ include $(TMP_DIR)/.host.mk export TAR -$(TMP_DIR)/.host.mk: $(INCLUDE_DIR)/host.mk +$(TMP_DIR)/.host.mk: $(TOPDIR)/include/host.mk + @mkdir -p $(TMP_DIR) @( \ - echo -n "BASH:=$(shell which bash)"; \ HOST_OS=`uname`; \ case "$$HOST_OS" in \ Linux) HOST_ARCH=`uname -m`;; \ @@ -29,5 +29,6 @@ $(TMP_DIR)/.host.mk: $(INCLUDE_DIR)/host.mk ZCAT=`which gzcat`; \ [ -n "$$ZCAT" -a -x "$$ZCAT" ] || ZCAT=`which zcat`; \ echo "ZCAT:=$$ZCAT" >> $@; \ + echo "BASH:=$(shell which bash)" >> $@; \ )