speed up the build system a little bit

SVN-Revision: 5506
owl
Felix Fietkau 2006-11-12 01:49:35 +00:00
parent 0f4a0fa10a
commit 8838ffd68d
2 changed files with 1 additions and 1 deletions

View File

@ -11,6 +11,7 @@ export TAR
$(TMP_DIR)/.host.mk: $(INCLUDE_DIR)/host.mk $(TMP_DIR)/.host.mk: $(INCLUDE_DIR)/host.mk
@( \ @( \
echo -n "BASH:=$(shell which bash)"; \
HOST_OS=`uname`; \ HOST_OS=`uname`; \
case "$$HOST_OS" in \ case "$$HOST_OS" in \
Linux) HOST_ARCH=`uname -m`;; \ Linux) HOST_ARCH=`uname -m`;; \

View File

@ -9,7 +9,6 @@
include $(TOPDIR)/include/verbose.mk include $(TOPDIR)/include/verbose.mk
export SHELL=/usr/bin/env bash -c '. $(TOPDIR)/include/shell.sh; eval "$$2"' -- export SHELL=/usr/bin/env bash -c '. $(TOPDIR)/include/shell.sh; eval "$$2"' --
export BASH=$(shell which bash)
ARCH:=$(strip $(subst ",, $(CONFIG_ARCH))) ARCH:=$(strip $(subst ",, $(CONFIG_ARCH)))
TARGET_OPTIMIZATION:=$(strip $(subst ",, $(CONFIG_TARGET_OPTIMIZATION))) TARGET_OPTIMIZATION:=$(strip $(subst ",, $(CONFIG_TARGET_OPTIMIZATION)))