diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-05-21 23:30:54 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-05-21 23:30:54 +0000 |
commit | 06810339189c1372d3defb8e3dcdb58a07ade7a7 (patch) | |
tree | 7d8ab749ab33dfbdcd8115013b75e0852e926293 /shell/Config.in | |
parent | 8805eeb44a291b830e9eb1a430d112913ffa9a24 (diff) | |
download | busybox-w32-06810339189c1372d3defb8e3dcdb58a07ade7a7.tar.gz busybox-w32-06810339189c1372d3defb8e3dcdb58a07ade7a7.tar.bz2 busybox-w32-06810339189c1372d3defb8e3dcdb58a07ade7a7.zip |
hush: add 3 CONFIG_xxx, allowing for smaller and less capable hush.
Minimal hush is ~9k now (lash is ~7k).
Diffstat (limited to 'shell/Config.in')
-rw-r--r-- | shell/Config.in | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/shell/Config.in b/shell/Config.in index 99e395dfb..90479013e 100644 --- a/shell/Config.in +++ b/shell/Config.in | |||
@@ -176,6 +176,12 @@ config HUSH | |||
176 | word ), arithmetic expansion, aliases, brace expansion, tilde | 176 | word ), arithmetic expansion, aliases, brace expansion, tilde |
177 | expansion, &> and >& redirection of stdout+stderr, etc. | 177 | expansion, &> and >& redirection of stdout+stderr, etc. |
178 | 178 | ||
179 | config HUSH_HELP | ||
180 | bool "help builtin" | ||
181 | default n | ||
182 | help | ||
183 | Enable help builtin in hush. Code size + ~1 kbyte. | ||
184 | |||
179 | config HUSH_INTERACTIVE | 185 | config HUSH_INTERACTIVE |
180 | bool "Interactive mode" | 186 | bool "Interactive mode" |
181 | default y | 187 | default y |
@@ -203,6 +209,18 @@ config HUSH_TICK | |||
203 | help | 209 | help |
204 | Enable process substitution `command` and $(command) in hush. | 210 | Enable process substitution `command` and $(command) in hush. |
205 | 211 | ||
212 | config HUSH_IF | ||
213 | bool "Support if/then/elif/else/fi" | ||
214 | default n | ||
215 | help | ||
216 | Enable if/then/elif/else/fi in hush. | ||
217 | |||
218 | config HUSH_LOOPS | ||
219 | bool "Support for, while and until loops" | ||
220 | default n | ||
221 | help | ||
222 | Enable for, while and until loops in hush. | ||
223 | |||
206 | config LASH | 224 | config LASH |
207 | bool "lash" | 225 | bool "lash" |
208 | default n | 226 | default n |