From a264975480c62b0d4177625a24cbab0111a51c97 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 12 Nov 2006 02:41:59 +0000 Subject: [PATCH] fix another build error SVN-Revision: 5508 --- include/host.mk | 5 +++-- include/prereq-build.mk | 1 - 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/host.mk b/include/host.mk index 1130d5b9a623..278ad726ff3d 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)" >> $@; \ ) diff --git a/include/prereq-build.mk b/include/prereq-build.mk index 10bc68ae1585..ed8fdb6fceff 100644 --- a/include/prereq-build.mk +++ b/include/prereq-build.mk @@ -6,7 +6,6 @@ # include $(TOPDIR)/rules.mk -TMP_DIR:=$(TOPDIR)/tmp include $(INCLUDE_DIR)/prereq.mk include $(INCLUDE_DIR)/host.mk -- 2.30.2