fix compile errors by forcing bash to be used as a shell in all submake processes
authorFelix Fietkau <nbd@openwrt.org>
Thu, 19 Aug 2010 13:32:47 +0000 (13:32 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 19 Aug 2010 13:32:47 +0000 (13:32 +0000)
SVN-Revision: 22726

include/toplevel.mk
rules.mk

index 53c5f4772daf8cad8b396a0cdfc9f5ff689f0114..1b72f5443e3e0751cdcbc66a01a86402af7822c9 100644 (file)
@@ -7,7 +7,6 @@
 #
 
 RELEASE:=Kamikaze
-export SHELL:=/usr/bin/env bash
 PREP_MK= OPENWRT_BUILD= QUIET=0
 
 include $(TOPDIR)/include/verbose.mk
index da4728b93f93a4c4b59286782686cfe3b755ce2c..7b5bd2c298c66abda192f9d4af7f3ccc4bb8f717 100644 (file)
--- 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))