diff options
Diffstat (limited to 'shell/Config.src')
-rw-r--r-- | shell/Config.src | 27 |
1 files changed, 26 insertions, 1 deletions
diff --git a/shell/Config.src b/shell/Config.src index 7f5f67050..3545f05dd 100644 --- a/shell/Config.src +++ b/shell/Config.src | |||
@@ -17,9 +17,19 @@ choice | |||
17 | config SH_IS_ASH | 17 | config SH_IS_ASH |
18 | depends on !NOMMU | 18 | depends on !NOMMU |
19 | bool "ash" | 19 | bool "ash" |
20 | help | ||
21 | Choose ash to be the shell executed by 'sh' name. | ||
22 | The ash code will be built into busybox. If you don't select | ||
23 | "ash" choice (CONFIG_ASH), this shell may only be invoked by | ||
24 | the name 'sh' (and not 'ash'). | ||
20 | 25 | ||
21 | config SH_IS_HUSH | 26 | config SH_IS_HUSH |
22 | bool "hush" | 27 | bool "hush" |
28 | help | ||
29 | Choose hush to be the shell executed by 'sh' name. | ||
30 | The hush code will be built into busybox. If you don't select | ||
31 | "hush" choice (CONFIG_HUSH), this shell may only be invoked by | ||
32 | the name 'sh' (and not 'hush'). | ||
23 | 33 | ||
24 | config SH_IS_NONE | 34 | config SH_IS_NONE |
25 | bool "none" | 35 | bool "none" |
@@ -31,7 +41,8 @@ choice | |||
31 | default BASH_IS_NONE | 41 | default BASH_IS_NONE |
32 | help | 42 | help |
33 | Choose which shell you want to be executed by 'bash' alias. | 43 | Choose which shell you want to be executed by 'bash' alias. |
34 | The ash shell is the most bash compatible and full featured one. | 44 | The ash shell is the most bash compatible and full featured one, |
45 | although compatibility is far from being complete. | ||
35 | 46 | ||
36 | Note that selecting this option does not switch on any bash | 47 | Note that selecting this option does not switch on any bash |
37 | compatibility code. It merely makes it possible to install | 48 | compatibility code. It merely makes it possible to install |
@@ -46,9 +57,19 @@ choice | |||
46 | config BASH_IS_ASH | 57 | config BASH_IS_ASH |
47 | depends on !NOMMU | 58 | depends on !NOMMU |
48 | bool "ash" | 59 | bool "ash" |
60 | help | ||
61 | Choose ash to be the shell executed by 'bash' name. | ||
62 | The ash code will be built into busybox. If you don't select | ||
63 | "ash" choice (CONFIG_ASH), this shell may only be invoked by | ||
64 | the name 'bash' (and not 'ash'). | ||
49 | 65 | ||
50 | config BASH_IS_HUSH | 66 | config BASH_IS_HUSH |
51 | bool "hush" | 67 | bool "hush" |
68 | help | ||
69 | Choose hush to be the shell executed by 'bash' name. | ||
70 | The hush code will be built into busybox. If you don't select | ||
71 | "hush" choice (CONFIG_HUSH), this shell may only be invoked by | ||
72 | the name 'bash' (and not 'hush'). | ||
52 | 73 | ||
53 | config BASH_IS_NONE | 74 | config BASH_IS_NONE |
54 | bool "none" | 75 | bool "none" |
@@ -59,6 +80,9 @@ endchoice | |||
59 | INSERT | 80 | INSERT |
60 | 81 | ||
61 | 82 | ||
83 | comment "Options common to all shells" | ||
84 | if ASH || HUSH || SH_IS_ASH || BASH_IS_ASH || SH_IS_HUSH || BASH_IS_HUSH | ||
85 | |||
62 | config FEATURE_SH_MATH | 86 | config FEATURE_SH_MATH |
63 | bool "POSIX math support" | 87 | bool "POSIX math support" |
64 | default y | 88 | default y |
@@ -142,5 +166,6 @@ config FEATURE_SH_HISTFILESIZE | |||
142 | to set shell history size. Note that its max value is capped | 166 | to set shell history size. Note that its max value is capped |
143 | by "History size" setting in library tuning section. | 167 | by "History size" setting in library tuning section. |
144 | 168 | ||
169 | endif # Options common to all shells | ||
145 | 170 | ||
146 | endmenu | 171 | endmenu |