diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-06-06 22:14:58 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-06-06 22:14:58 +0200 |
commit | c8aae0b2a0406b499ec8dea4a1e29b52be9da0d0 (patch) | |
tree | 1e7296f0fa31ff8bfd68b8d0d07d716a3a199b6f | |
parent | 19ced5c4253bc154aa499a72b6343e01245c92c0 (diff) | |
download | busybox-w32-c8aae0b2a0406b499ec8dea4a1e29b52be9da0d0.tar.gz busybox-w32-c8aae0b2a0406b499ec8dea4a1e29b52be9da0d0.tar.bz2 busybox-w32-c8aae0b2a0406b499ec8dea4a1e29b52be9da0d0.zip |
fix allnoconfig
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | shell/Config.src | 107 |
1 files changed, 55 insertions, 52 deletions
diff --git a/shell/Config.src b/shell/Config.src index 234d05367..12f655375 100644 --- a/shell/Config.src +++ b/shell/Config.src | |||
@@ -5,58 +5,6 @@ | |||
5 | 5 | ||
6 | menu "Shells" | 6 | menu "Shells" |
7 | 7 | ||
8 | choice | ||
9 | prompt "Choose which shell is aliased to 'sh' name" | ||
10 | default FEATURE_SH_IS_ASH | ||
11 | help | ||
12 | Choose which shell you want to be executed by 'sh' alias. | ||
13 | The ash shell is the most bash compatible and full featured one. | ||
14 | |||
15 | config FEATURE_SH_IS_ASH | ||
16 | select ASH | ||
17 | bool "ash" | ||
18 | depends on !NOMMU | ||
19 | |||
20 | config FEATURE_SH_IS_HUSH | ||
21 | select HUSH | ||
22 | bool "hush" | ||
23 | |||
24 | config FEATURE_SH_IS_NONE | ||
25 | bool "none" | ||
26 | |||
27 | endchoice | ||
28 | |||
29 | choice | ||
30 | prompt "Choose which shell is aliased to 'bash' name" | ||
31 | default FEATURE_BASH_IS_NONE | ||
32 | help | ||
33 | Choose which shell you want to be executed by 'bash' alias. | ||
34 | The ash shell is the most bash compatible and full featured one. | ||
35 | |||
36 | Note that selecting this option does not switch on any bash | ||
37 | compatibility code. It merely makes it possible to install | ||
38 | /bin/bash (sym)link and run scripts which start with | ||
39 | #!/bin/bash line. | ||
40 | |||
41 | Many systems use it in scripts which use bash-specific features, | ||
42 | even simple ones like $RANDOM. Without this option, busybox | ||
43 | can't be used for running them because it won't recongnize | ||
44 | "bash" as a supported applet name. | ||
45 | |||
46 | config FEATURE_BASH_IS_ASH | ||
47 | select ASH | ||
48 | bool "ash" | ||
49 | depends on !NOMMU | ||
50 | |||
51 | config FEATURE_BASH_IS_HUSH | ||
52 | select HUSH | ||
53 | bool "hush" | ||
54 | |||
55 | config FEATURE_BASH_IS_NONE | ||
56 | bool "none" | ||
57 | |||
58 | endchoice | ||
59 | |||
60 | config ASH | 8 | config ASH |
61 | bool "ash" | 9 | bool "ash" |
62 | default y | 10 | default y |
@@ -266,6 +214,61 @@ config HUSH_RANDOM_SUPPORT | |||
266 | Enable pseudorandom generator and dynamic variable "$RANDOM". | 214 | Enable pseudorandom generator and dynamic variable "$RANDOM". |
267 | Each read of "$RANDOM" will generate a new pseudorandom value. | 215 | Each read of "$RANDOM" will generate a new pseudorandom value. |
268 | 216 | ||
217 | |||
218 | choice | ||
219 | prompt "Choose which shell is aliased to 'sh' name" | ||
220 | default FEATURE_SH_IS_ASH | ||
221 | help | ||
222 | Choose which shell you want to be executed by 'sh' alias. | ||
223 | The ash shell is the most bash compatible and full featured one. | ||
224 | |||
225 | # note: cannot use "select ASH" here, it breaks "amke allnoconfig" | ||
226 | config FEATURE_SH_IS_ASH | ||
227 | depends on ASH | ||
228 | bool "ash" | ||
229 | depends on !NOMMU | ||
230 | |||
231 | config FEATURE_SH_IS_HUSH | ||
232 | depends on HUSH | ||
233 | bool "hush" | ||
234 | |||
235 | config FEATURE_SH_IS_NONE | ||
236 | bool "none" | ||
237 | |||
238 | endchoice | ||
239 | |||
240 | choice | ||
241 | prompt "Choose which shell is aliased to 'bash' name" | ||
242 | default FEATURE_BASH_IS_NONE | ||
243 | help | ||
244 | Choose which shell you want to be executed by 'bash' alias. | ||
245 | The ash shell is the most bash compatible and full featured one. | ||
246 | |||
247 | Note that selecting this option does not switch on any bash | ||
248 | compatibility code. It merely makes it possible to install | ||
249 | /bin/bash (sym)link and run scripts which start with | ||
250 | #!/bin/bash line. | ||
251 | |||
252 | Many systems use it in scripts which use bash-specific features, | ||
253 | even simple ones like $RANDOM. Without this option, busybox | ||
254 | can't be used for running them because it won't recongnize | ||
255 | "bash" as a supported applet name. | ||
256 | |||
257 | config FEATURE_BASH_IS_ASH | ||
258 | depends on ASH | ||
259 | bool "ash" | ||
260 | depends on !NOMMU | ||
261 | |||
262 | config FEATURE_BASH_IS_HUSH | ||
263 | depends on HUSH | ||
264 | bool "hush" | ||
265 | |||
266 | config FEATURE_BASH_IS_NONE | ||
267 | bool "none" | ||
268 | |||
269 | endchoice | ||
270 | |||
271 | |||
269 | config LASH | 272 | config LASH |
270 | bool "lash (deprecated: aliased to hush)" | 273 | bool "lash (deprecated: aliased to hush)" |
271 | default n | 274 | default n |