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 53c5f47..1b72f54 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 da4728b..7b5bd2c 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))