summaryrefslogtreecommitdiffstats
path: root/include/host.mk
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-11-12 02:41:59 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-11-12 02:41:59 +0000
commitb15238f536bdcbc1fb85c67940b97f1463f90ca0 (patch)
tree7d73f27bb01f4907adae2f423afe87357e50303a /include/host.mk
parente2d11959004b18bef392cbc913279eb1b5503b89 (diff)
fix another build error
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5508 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 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)" >> $@; \
)