mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2024-12-24 23:53:02 +00:00
speed up the build system a little bit
SVN-Revision: 5506
This commit is contained in:
parent
0f4a0fa10a
commit
8838ffd68d
@ -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`;; \
|
||||||
|
1
rules.mk
1
rules.mk
@ -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)))
|
||||||
|
Loading…
Reference in New Issue
Block a user