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:
parent
91244ebf6b
commit
00ff299f67
@ -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