1.1 --- a/config/global/build-behave.in Sun Aug 02 20:06:06 2009 +0200
1.2 +++ b/config/global/build-behave.in Sun Aug 02 20:06:44 2009 +0200
1.3 @@ -89,10 +89,25 @@
1.4
1.5 See help for CONFIG_SHELL_SH, above, for more explanations.
1.6
1.7 +config CONFIG_SHELL_CUSTOM
1.8 + bool
1.9 + prompt "custom shell"
1.10 + help
1.11 + Enter full path to the custom shell below.
1.12 +
1.13 + See help for CONFIG_SHELL_SH, above, for more explanations.
1.14 +
1.15 +config CONFIG_SHELL_CUSTOM_PATH
1.16 + string
1.17 + prompt "Path to custom shell"
1.18 + depends on CONFIG_SHELL_CUSTOM
1.19 + default "/bin/sh"
1.20 +
1.21 endchoice
1.22
1.23 config CONFIG_SHELL
1.24 string
1.25 - default "sh" if CONFIG_SHELL_SH
1.26 - default "ash" if CONFIG_SHELL_ASH
1.27 - default "bash" if CONFIG_SHELL_BASH
1.28 + default "sh" if CONFIG_SHELL_SH
1.29 + default "ash" if CONFIG_SHELL_ASH
1.30 + default "bash" if CONFIG_SHELL_BASH
1.31 + default "custom" if CONFIG_SHELL_CUSTOM
2.1 --- a/scripts/crosstool-NG.sh.in Sun Aug 02 20:06:06 2009 +0200
2.2 +++ b/scripts/crosstool-NG.sh.in Sun Aug 02 20:06:44 2009 +0200
2.3 @@ -67,6 +67,7 @@
2.4 sh) CT_SHELL="/bin/sh";;
2.5 ash) CT_SHELL="/bin/ash";;
2.6 bash) CT_SHELL="${BASH}";;
2.7 + custom) CT_SHELL="${CT_CONFIG_SHELL_CUSTOM_PATH}";;
2.8 esac
2.9
2.10 # Check the user is using an existing SHELL to be used by ./configure and Makefiles