diff options
-rw-r--r-- | solenv/gbuild/gbuild.mk | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/solenv/gbuild/gbuild.mk b/solenv/gbuild/gbuild.mk index 0f11ea0c4eb2..ee2f985ec1d7 100644 --- a/solenv/gbuild/gbuild.mk +++ b/solenv/gbuild/gbuild.mk @@ -48,7 +48,16 @@ GBUILDDIR:=$(SRCDIR)/solenv/gbuild .DELETE_ON_ERROR: +# by default gbuild use /bin/sh +# if you want to use a particular shell +# you can export gb_SHELL=<path_to_shell> +# +ifdef gb_SHELL +SHELL := $(gb_SHELL) +else SHELL := /bin/sh +endif + true := T false := define NEWLINE |