summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-08-19 13:32:47 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-08-19 13:32:47 +0000
commitb3c871375bd608c2ee5623e71ce2356b8e211ca2 (patch)
tree0bc28b951b3cad7dff941e985c6f5ab16077a61a
parent0f64b1d870e18f69729d9279f0c573ce2ecb0479 (diff)
downloadmtk-20170518-b3c871375bd608c2ee5623e71ce2356b8e211ca2.zip
mtk-20170518-b3c871375bd608c2ee5623e71ce2356b8e211ca2.tar.gz
mtk-20170518-b3c871375bd608c2ee5623e71ce2356b8e211ca2.tar.bz2
fix compile errors by forcing bash to be used as a shell in all submake processes
SVN-Revision: 22726
-rw-r--r--include/toplevel.mk1
-rw-r--r--rules.mk1
2 files changed, 1 insertions, 1 deletions
diff --git a/include/toplevel.mk b/include/toplevel.mk
index 53c5f47..1b72f54 100644
--- a/include/toplevel.mk
+++ b/include/toplevel.mk
@@ -7,7 +7,6 @@
#
RELEASE:=Kamikaze
-export SHELL:=/usr/bin/env bash
PREP_MK= OPENWRT_BUILD= QUIET=0
include $(TOPDIR)/include/verbose.mk
diff --git a/rules.mk b/rules.mk
index da4728b..7b5bd2c 100644
--- a/rules.mk
+++ b/rules.mk
@@ -36,6 +36,7 @@ TARGET_OPTIMIZATION:=$(call qstrip,$(CONFIG_TARGET_OPTIMIZATION))
TARGET_SUFFIX=$(call qstrip,$(CONFIG_TARGET_SUFFIX))
BUILD_SUFFIX:=$(call qstrip,$(CONFIG_BUILD_SUFFIX))
SUBDIR:=$(patsubst $(TOPDIR)/%,%,${CURDIR})
+export SHELL:=/usr/bin/env bash
OPTIMIZE_FOR_CPU=$(subst i386,i486,$(ARCH))