summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2011-01-26 20:23:29 +0100
committerAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2011-01-26 20:23:29 +0100
commit08000e7457501f16d5bf20b611a25fcd11d9652d (patch)
tree87b1639831935c292235ec7831681ca5f93e7810 /Makefile
parente4f913c9c84fe92b8aba68dd5507daeb136b269b (diff)
downloadembtoolkit-08000e7457501f16d5bf20b611a25fcd11d9652d.tar.gz
embtoolkit-08000e7457501f16d5bf20b611a25fcd11d9652d.tar.bz2
embtoolkit-08000e7457501f16d5bf20b611a25fcd11d9652d.tar.xz
Embtk: set shell to use
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 701184b..2f80fc4 100644
--- a/Makefile
+++ b/Makefile
@@ -42,7 +42,8 @@ export EMBTK_ROOT
CONFIG_SHELL := $(shell if [ -x "$$BASH" ]; then echo $$BASH; \
else if [ -x /bin/bash ]; then echo /bin/bash; \
else echo sh; fi ; fi)
-export CONFIG_SHELL
+SHELL := $(CONFIG_SHELL)
+export SHELL CONFIG_SHELL
HOST_ARCH := `$(CONFIG_SHELL) $(EMBTK_ROOT)/scripts/config.guess`
HOST_BUILD := $(HOST_ARCH)