fix another build error
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 12 Nov 2006 02:41:59 +0000 (02:41 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 12 Nov 2006 02:41:59 +0000 (02:41 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5508 3c298f89-4303-0410-b956-a3cf2f4a3e73

include/host.mk
include/prereq-build.mk

index 1130d5b..278ad72 100644 (file)
@@ -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)" >> $@; \
        )
 
index 10bc68a..ed8fdb6 100644 (file)
@@ -6,7 +6,6 @@
 #
 
 include $(TOPDIR)/rules.mk
-TMP_DIR:=$(TOPDIR)/tmp
 include $(INCLUDE_DIR)/prereq.mk
 include $(INCLUDE_DIR)/host.mk
 
This page took 0.030862 seconds and 4 git commands to generate.