speed up the build system a little bit
authorFelix Fietkau <nbd@openwrt.org>
Sun, 12 Nov 2006 01:49:35 +0000 (01:49 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 12 Nov 2006 01:49:35 +0000 (01:49 +0000)
SVN-Revision: 5506

include/host.mk
rules.mk

index ed961e3..1130d5b 100644 (file)
@@ -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`;; \
index da0e04c..d52539f 100644 (file)
--- 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)))