summaryrefslogtreecommitdiffstats
path: root/rules.mk
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-08-19 12:49:37 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-08-19 12:49:37 +0000
commit37b9bb7ce2cf4ba218bb726180ccba01adb2d88f (patch)
tree016fc4de832be636e9af52b9bebfc45308c65194 /rules.mk
parent715bc925855760ced69162f6242fc0704b42e939 (diff)
speed up the build system by including include/shell.sh on shell commands only where necessary
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22720 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 2add08713..3714fecf5 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