speed up the build system by including include/shell.sh on shell commands only where necessary

SVN-Revision: 22720
This commit is contained in:
Felix Fietkau
2010-08-19 12:49:37 +00:00
parent caf173f869
commit a9136c0892
8 changed files with 12 additions and 12 deletions

View File

@@ -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