summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-11-12 01:49:35 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-11-12 01:49:35 +0000
commit00ff299f672bb198eaf876e395e4bb683b26fa93 (patch)
tree19f308f0203d1e2ade80917a76d46224144e6c65
parent91244ebf6b83c3e461b987b2f69f8dc4a3df0078 (diff)
speed up the build system a little bit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5506 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--include/host.mk1
-rw-r--r--rules.mk1
2 files changed, 1 insertions, 1 deletions
diff --git a/include/host.mk b/include/host.mk
index ed961e35d..1130d5b9a 100644
--- a/include/host.mk
+++ b/include/host.mk
@@ -11,6 +11,7 @@ export TAR
$(TMP_DIR)/.host.mk: $(INCLUDE_DIR)/host.mk
@( \
+ echo -n "BASH:=$(shell which bash)"; \
HOST_OS=`uname`; \
case "$$HOST_OS" in \
Linux) HOST_ARCH=`uname -m`;; \
diff --git a/rules.mk b/rules.mk
index da0e04c1c..d52539f3f 100644
--- a/rules.mk
+++ b/rules.mk
@@ -9,7 +9,6 @@
include $(TOPDIR)/include/verbose.mk
export SHELL=/usr/bin/env bash -c '. $(TOPDIR)/include/shell.sh; eval "$$2"' --
-export BASH=$(shell which bash)
ARCH:=$(strip $(subst ",, $(CONFIG_ARCH)))
TARGET_OPTIMIZATION:=$(strip $(subst ",, $(CONFIG_TARGET_OPTIMIZATION)))