summaryrefslogtreecommitdiff
path: root/include/host.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-11-12 02:41:59 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-11-12 02:41:59 +0000
commita264975480c62b0d4177625a24cbab0111a51c97 (patch)
treef83285f68a23abd88557a895243ae7a9c2ccc801 /include/host.mk
parentcf10a1dd5ec950121617cf51b84d00374f86480f (diff)
downloadmtk-20170518-a264975480c62b0d4177625a24cbab0111a51c97.zip
mtk-20170518-a264975480c62b0d4177625a24cbab0111a51c97.tar.gz
mtk-20170518-a264975480c62b0d4177625a24cbab0111a51c97.tar.bz2
fix another build error
SVN-Revision: 5508
Diffstat (limited to 'include/host.mk')
-rw-r--r--include/host.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/host.mk b/include/host.mk
index 1130d5b..278ad72 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)" >> $@; \
)