From: Felix Fietkau Date: Thu, 19 Aug 2010 13:32:47 +0000 (+0000) Subject: fix compile errors by forcing bash to be used as a shell in all submake processes X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;h=5b543d2588ea643c337ac5e7187b82ffe6557821 fix compile errors by forcing bash to be used as a shell in all submake processes SVN-Revision: 22726 --- diff --git a/include/toplevel.mk b/include/toplevel.mk index 53c5f4772d..1b72f5443e 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 da4728b93f..7b5bd2c298 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))