aboutsummaryrefslogtreecommitdiff
path: root/shell/Config.src
diff options
context:
space:
mode:
Diffstat (limited to 'shell/Config.src')
-rw-r--r--shell/Config.src20
1 files changed, 12 insertions, 8 deletions
diff --git a/shell/Config.src b/shell/Config.src
index d7623f774..5efbf9995 100644
--- a/shell/Config.src
+++ b/shell/Config.src
@@ -17,6 +17,7 @@ choice
17config SH_IS_ASH 17config SH_IS_ASH
18 depends on !NOMMU 18 depends on !NOMMU
19 bool "ash" 19 bool "ash"
20 select SHELL_ASH
20 help 21 help
21 Choose ash to be the shell executed by 'sh' name. 22 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 The ash code will be built into busybox. If you don't select
@@ -25,6 +26,7 @@ config SH_IS_ASH
25 26
26config SH_IS_HUSH 27config SH_IS_HUSH
27 bool "hush" 28 bool "hush"
29 select SHELL_HUSH
28 help 30 help
29 Choose hush to be the shell executed by 'sh' name. 31 Choose hush to be the shell executed by 'sh' name.
30 The hush code will be built into busybox. If you don't select 32 The hush code will be built into busybox. If you don't select
@@ -57,6 +59,7 @@ choice
57config BASH_IS_ASH 59config BASH_IS_ASH
58 depends on !NOMMU 60 depends on !NOMMU
59 bool "ash" 61 bool "ash"
62 select SHELL_ASH
60 help 63 help
61 Choose ash to be the shell executed by 'bash' name. 64 Choose ash to be the shell executed by 'bash' name.
62 The ash code will be built into busybox. If you don't select 65 The ash code will be built into busybox. If you don't select
@@ -65,6 +68,7 @@ config BASH_IS_ASH
65 68
66config BASH_IS_HUSH 69config BASH_IS_HUSH
67 bool "hush" 70 bool "hush"
71 select SHELL_HUSH
68 help 72 help
69 Choose hush to be the shell executed by 'bash' name. 73 Choose hush to be the shell executed by 'bash' name.
70 The hush code will be built into busybox. If you don't select 74 The hush code will be built into busybox. If you don't select
@@ -81,12 +85,12 @@ INSERT
81 85
82 86
83comment "Options common to all shells" 87comment "Options common to all shells"
84if ASH || HUSH || SH_IS_ASH || BASH_IS_ASH || SH_IS_HUSH || BASH_IS_HUSH 88if SHELL_ASH || SHELL_HUSH
85 89
86config FEATURE_SH_MATH 90config FEATURE_SH_MATH
87 bool "POSIX math support" 91 bool "POSIX math support"
88 default y 92 default y
89 depends on ASH || HUSH || SH_IS_ASH || BASH_IS_ASH || SH_IS_HUSH || BASH_IS_HUSH 93 depends on SHELL_ASH || SHELL_HUSH
90 help 94 help
91 Enable math support in the shell via $((...)) syntax. 95 Enable math support in the shell via $((...)) syntax.
92 96
@@ -107,14 +111,14 @@ config FEATURE_SH_MATH_BASE
107config FEATURE_SH_EXTRA_QUIET 111config FEATURE_SH_EXTRA_QUIET
108 bool "Hide message on interactive shell startup" 112 bool "Hide message on interactive shell startup"
109 default y 113 default y
110 depends on ASH || HUSH || SH_IS_ASH || BASH_IS_ASH || SH_IS_HUSH || BASH_IS_HUSH 114 depends on SHELL_ASH || SHELL_HUSH
111 help 115 help
112 Remove the busybox introduction when starting a shell. 116 Remove the busybox introduction when starting a shell.
113 117
114config FEATURE_SH_STANDALONE 118config FEATURE_SH_STANDALONE
115 bool "Standalone shell" 119 bool "Standalone shell"
116 default n 120 default n
117 depends on ASH || HUSH || SH_IS_ASH || BASH_IS_ASH || SH_IS_HUSH || BASH_IS_HUSH 121 depends on SHELL_ASH || SHELL_HUSH
118 help 122 help
119 This option causes busybox shells to use busybox applets 123 This option causes busybox shells to use busybox applets
120 in preference to executables in the PATH whenever possible. For 124 in preference to executables in the PATH whenever possible. For
@@ -135,7 +139,7 @@ config FEATURE_SH_STANDALONE
135config FEATURE_SH_NOFORK 139config FEATURE_SH_NOFORK
136 bool "Run 'nofork' applets directly" 140 bool "Run 'nofork' applets directly"
137 default n 141 default n
138 depends on ASH || HUSH || SH_IS_ASH || BASH_IS_ASH || SH_IS_HUSH || BASH_IS_HUSH 142 depends on SHELL_ASH || SHELL_HUSH
139 help 143 help
140 This option causes busybox shells to not execute typical 144 This option causes busybox shells to not execute typical
141 fork/exec/wait sequence, but call <applet>_main directly, 145 fork/exec/wait sequence, but call <applet>_main directly,
@@ -153,14 +157,14 @@ config FEATURE_SH_NOFORK
153config FEATURE_SH_READ_FRAC 157config FEATURE_SH_READ_FRAC
154 bool "read -t N.NNN support (+110 bytes)" 158 bool "read -t N.NNN support (+110 bytes)"
155 default y 159 default y
156 depends on ASH || HUSH || SH_IS_ASH || BASH_IS_ASH || SH_IS_HUSH || BASH_IS_HUSH 160 depends on SHELL_ASH || SHELL_HUSH
157 help 161 help
158 Enable support for fractional second timeout in read builtin. 162 Enable support for fractional second timeout in read builtin.
159 163
160config FEATURE_SH_HISTFILESIZE 164config FEATURE_SH_HISTFILESIZE
161 bool "Use $HISTFILESIZE" 165 bool "Use $HISTFILESIZE"
162 default y 166 default y
163 depends on ASH || HUSH || SH_IS_ASH || BASH_IS_ASH || SH_IS_HUSH || BASH_IS_HUSH 167 depends on SHELL_ASH || SHELL_HUSH
164 help 168 help
165 This option makes busybox shells to use $HISTFILESIZE variable 169 This option makes busybox shells to use $HISTFILESIZE variable
166 to set shell history size. Note that its max value is capped 170 to set shell history size. Note that its max value is capped
@@ -169,7 +173,7 @@ config FEATURE_SH_HISTFILESIZE
169config FEATURE_SH_EMBEDDED_SCRIPTS 173config FEATURE_SH_EMBEDDED_SCRIPTS
170 bool "Embed scripts in the binary" 174 bool "Embed scripts in the binary"
171 default y 175 default y
172 depends on ASH || HUSH || SH_IS_ASH || BASH_IS_ASH || SH_IS_HUSH || BASH_IS_HUSH 176 depends on SHELL_ASH || SHELL_HUSH
173 help 177 help
174 Allow scripts to be compressed and embedded in the busybox 178 Allow scripts to be compressed and embedded in the busybox
175 binary. The scripts should be placed in the 'embed' directory 179 binary. The scripts should be placed in the 'embed' directory