aboutsummaryrefslogtreecommitdiffstats
path: root/rules.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-08-19 12:49:37 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-08-19 12:49:37 +0000
commita9136c0892fa5fa1627c2502d309eeb8cda187f8 (patch)
tree626476203a2fc0de4f74dd79615b0f30a850401c /rules.mk
parentcaf173f8693cb0ec6a4bf9755caa01482c01f92b (diff)
downloadupstream-a9136c0892fa5fa1627c2502d309eeb8cda187f8.tar.gz
upstream-a9136c0892fa5fa1627c2502d309eeb8cda187f8.tar.bz2
upstream-a9136c0892fa5fa1627c2502d309eeb8cda187f8.zip
speed up the build system by including include/shell.sh on shell commands only where necessary
SVN-Revision: 22720
Diffstat (limited to 'rules.mk')
-rw-r--r--rules.mk3
1 files changed, 1 insertions, 2 deletions
diff --git a/rules.mk b/rules.mk
index 2add087133..3714fecf5e 100644
--- a/rules.mk
+++ b/rules.mk
@@ -16,8 +16,6 @@ include $(TOPDIR)/include/verbose.mk
TMP_DIR:=$(TOPDIR)/tmp
-export SHELL=/usr/bin/env bash -c '. $(TOPDIR)/include/shell.sh; eval "$$2"' --
-
GREP_OPTIONS=
export GREP_OPTIONS
@@ -148,6 +146,7 @@ endif
export PATH:=$(TARGET_PATH)
export STAGING_DIR
export GCC_HONOUR_COPTS:=0
+export SH_FUNC:=. $(INCLUDE_DIR)/shell.sh;
PKG_CONFIG:=$(STAGING_DIR_HOST)/bin/pkg-config