diff options
author | Ron Yorston <rmy@pobox.com> | 2021-03-24 11:55:30 +0000 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2021-03-24 12:43:15 +0000 |
commit | 355a7a6c1e9626b7afe8758a6095f3cf275c52e1 (patch) | |
tree | 6dab679c15b049cab97212e0b43077132eec1fbe /shell/Config.src | |
parent | 71ecc8033e6989996057b32577e71148fd544596 (diff) | |
parent | 889425812b5cda8b3394d73253cbde7355fb1115 (diff) | |
download | busybox-w32-w32_1_26_2.tar.gz busybox-w32-w32_1_26_2.tar.bz2 busybox-w32-w32_1_26_2.zip |
Merge tag '1_26_2' into w32_1_26_2w32_1_26_2
Diffstat (limited to 'shell/Config.src')
-rw-r--r-- | shell/Config.src | 45 |
1 files changed, 21 insertions, 24 deletions
diff --git a/shell/Config.src b/shell/Config.src index e4df35973..7f5f67050 100644 --- a/shell/Config.src +++ b/shell/Config.src | |||
@@ -5,34 +5,30 @@ | |||
5 | 5 | ||
6 | menu "Shells" | 6 | menu "Shells" |
7 | 7 | ||
8 | INSERT | ||
9 | |||
10 | 8 | ||
11 | choice | 9 | choice |
12 | prompt "Choose which shell is aliased to 'sh' name" | 10 | prompt "Choose which shell is aliased to 'sh' name" |
13 | default FEATURE_SH_IS_ASH | 11 | default SH_IS_ASH |
14 | help | 12 | help |
15 | Choose which shell you want to be executed by 'sh' alias. | 13 | Choose which shell you want to be executed by 'sh' alias. |
16 | The ash shell is the most bash compatible and full featured one. | 14 | The ash shell is the most bash compatible and full featured one. |
17 | 15 | ||
18 | # note: cannot use "select ASH" here, it breaks "make allnoconfig" | 16 | # note: cannot use "select ASH" here, it breaks "make allnoconfig" |
19 | config FEATURE_SH_IS_ASH | 17 | config SH_IS_ASH |
20 | depends on ASH | ||
21 | bool "ash" | ||
22 | depends on !NOMMU | 18 | depends on !NOMMU |
19 | bool "ash" | ||
23 | 20 | ||
24 | config FEATURE_SH_IS_HUSH | 21 | config SH_IS_HUSH |
25 | depends on HUSH | ||
26 | bool "hush" | 22 | bool "hush" |
27 | 23 | ||
28 | config FEATURE_SH_IS_NONE | 24 | config SH_IS_NONE |
29 | bool "none" | 25 | bool "none" |
30 | 26 | ||
31 | endchoice | 27 | endchoice |
32 | 28 | ||
33 | choice | 29 | choice |
34 | prompt "Choose which shell is aliased to 'bash' name" | 30 | prompt "Choose which shell is aliased to 'bash' name" |
35 | default FEATURE_BASH_IS_NONE | 31 | default BASH_IS_NONE |
36 | help | 32 | help |
37 | Choose which shell you want to be executed by 'bash' alias. | 33 | Choose which shell you want to be executed by 'bash' alias. |
38 | The ash shell is the most bash compatible and full featured one. | 34 | The ash shell is the most bash compatible and full featured one. |
@@ -47,32 +43,33 @@ choice | |||
47 | can't be used for running them because it won't recongnize | 43 | can't be used for running them because it won't recongnize |
48 | "bash" as a supported applet name. | 44 | "bash" as a supported applet name. |
49 | 45 | ||
50 | config FEATURE_BASH_IS_ASH | 46 | config BASH_IS_ASH |
51 | depends on ASH | ||
52 | bool "ash" | ||
53 | depends on !NOMMU | 47 | depends on !NOMMU |
48 | bool "ash" | ||
54 | 49 | ||
55 | config FEATURE_BASH_IS_HUSH | 50 | config BASH_IS_HUSH |
56 | depends on HUSH | ||
57 | bool "hush" | 51 | bool "hush" |
58 | 52 | ||
59 | config FEATURE_BASH_IS_NONE | 53 | config BASH_IS_NONE |
60 | bool "none" | 54 | bool "none" |
61 | 55 | ||
62 | endchoice | 56 | endchoice |
63 | 57 | ||
64 | 58 | ||
65 | config SH_MATH_SUPPORT | 59 | INSERT |
60 | |||
61 | |||
62 | config FEATURE_SH_MATH | ||
66 | bool "POSIX math support" | 63 | bool "POSIX math support" |
67 | default y | 64 | default y |
68 | depends on ASH || HUSH | 65 | depends on ASH || HUSH || SH_IS_ASH || BASH_IS_ASH || SH_IS_HUSH || BASH_IS_HUSH |
69 | help | 66 | help |
70 | Enable math support in the shell via $((...)) syntax. | 67 | Enable math support in the shell via $((...)) syntax. |
71 | 68 | ||
72 | config SH_MATH_SUPPORT_64 | 69 | config FEATURE_SH_MATH_64 |
73 | bool "Extend POSIX math support to 64 bit" | 70 | bool "Extend POSIX math support to 64 bit" |
74 | default y | 71 | default y |
75 | depends on SH_MATH_SUPPORT | 72 | depends on FEATURE_SH_MATH |
76 | help | 73 | help |
77 | Enable 64-bit math support in the shell. This will make the shell | 74 | Enable 64-bit math support in the shell. This will make the shell |
78 | slightly larger, but will allow computation with very large numbers. | 75 | slightly larger, but will allow computation with very large numbers. |
@@ -81,14 +78,14 @@ config SH_MATH_SUPPORT_64 | |||
81 | config FEATURE_SH_EXTRA_QUIET | 78 | config FEATURE_SH_EXTRA_QUIET |
82 | bool "Hide message on interactive shell startup" | 79 | bool "Hide message on interactive shell startup" |
83 | default y | 80 | default y |
84 | depends on HUSH || ASH | 81 | depends on ASH || HUSH || SH_IS_ASH || BASH_IS_ASH || SH_IS_HUSH || BASH_IS_HUSH |
85 | help | 82 | help |
86 | Remove the busybox introduction when starting a shell. | 83 | Remove the busybox introduction when starting a shell. |
87 | 84 | ||
88 | config FEATURE_SH_STANDALONE | 85 | config FEATURE_SH_STANDALONE |
89 | bool "Standalone shell" | 86 | bool "Standalone shell" |
90 | default n | 87 | default n |
91 | depends on (HUSH || ASH) | 88 | depends on ASH || HUSH || SH_IS_ASH || BASH_IS_ASH || SH_IS_HUSH || BASH_IS_HUSH |
92 | help | 89 | help |
93 | This option causes busybox shells to use busybox applets | 90 | This option causes busybox shells to use busybox applets |
94 | in preference to executables in the PATH whenever possible. For | 91 | in preference to executables in the PATH whenever possible. For |
@@ -121,7 +118,7 @@ config FEATURE_SH_STANDALONE | |||
121 | config FEATURE_SH_NOFORK | 118 | config FEATURE_SH_NOFORK |
122 | bool "Run 'nofork' applets directly" | 119 | bool "Run 'nofork' applets directly" |
123 | default n | 120 | default n |
124 | depends on (HUSH || ASH) | 121 | depends on ASH || HUSH || SH_IS_ASH || BASH_IS_ASH || SH_IS_HUSH || BASH_IS_HUSH |
125 | help | 122 | help |
126 | This option causes busybox shells to not execute typical | 123 | This option causes busybox shells to not execute typical |
127 | fork/exec/wait sequence, but call <applet>_main directly, | 124 | fork/exec/wait sequence, but call <applet>_main directly, |
@@ -139,7 +136,7 @@ config FEATURE_SH_NOFORK | |||
139 | config FEATURE_SH_HISTFILESIZE | 136 | config FEATURE_SH_HISTFILESIZE |
140 | bool "Use $HISTFILESIZE" | 137 | bool "Use $HISTFILESIZE" |
141 | default y | 138 | default y |
142 | depends on HUSH || ASH | 139 | depends on ASH || HUSH || SH_IS_ASH || BASH_IS_ASH || SH_IS_HUSH || BASH_IS_HUSH |
143 | help | 140 | help |
144 | This option makes busybox shells to use $HISTFILESIZE variable | 141 | This option makes busybox shells to use $HISTFILESIZE variable |
145 | to set shell history size. Note that its max value is capped | 142 | to set shell history size. Note that its max value is capped |