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
commit14be67809466ef612e619b7d8b1e8df42b4e075b (patch)
tree016fc4de832be636e9af52b9bebfc45308c65194 /rules.mk
parent6e39367d4faefe4d03e91495f9a174019bd8ddab (diff)
downloadupstream-14be67809466ef612e619b7d8b1e8df42b4e075b.tar.gz
upstream-14be67809466ef612e619b7d8b1e8df42b4e075b.tar.bz2
upstream-14be67809466ef612e619b7d8b1e8df42b4e075b.zip
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 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