]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - Makefile
Makefile: Move SHELL setup to config.mk
[people/ms/u-boot.git] / Makefile
index 8d0e2b8552f06e84e421f15aa2c07a746fe5dfdf..caca851365205c2298c8a94c0ab8a0e8c9e93667 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -46,12 +46,7 @@ HOSTARCH := $(shell uname -m | \
 HOSTOS := $(shell uname -s | tr '[:upper:]' '[:lower:]' | \
            sed -e 's/\(cygwin\).*/cygwin/')
 
-# Set shell to bash if possible, otherwise fall back to sh
-SHELL := $(shell if [ -x "$$BASH" ]; then echo $$BASH; \
-       else if [ -x /bin/bash ]; then echo /bin/bash; \
-       else echo sh; fi; fi)
-
-export HOSTARCH HOSTOS SHELL
+export HOSTARCH HOSTOS
 
 # Deal with colliding definitions from tcsh etc.
 VENDOR=