1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-19 06:49:42 +02:00

speed up the build system a little bit

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5506 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2006-11-12 01:49:35 +00:00
parent 91244ebf6b
commit 00ff299f67
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)))