summaryrefslogtreecommitdiff
path: root/busybox-shell.kconfig
diff options
context:
space:
mode:
authorAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2010-11-28 21:37:24 +0100
committerAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2010-11-28 21:37:24 +0100
commitbd90baeb9f9a255a545e0ece9197f89f04395db0 (patch)
tree59169ed66acf150a9fc6aba90fe96b9afd7155d1 /busybox-shell.kconfig
parent126f2b8df773acc00d0b52a4dfbffadebe7946e2 (diff)
downloadembtk-busybox-kconfigs-bd90baeb9f9a255a545e0ece9197f89f04395db0.tar.gz
embtk-busybox-kconfigs-bd90baeb9f9a255a545e0ece9197f89f04395db0.tar.bz2
embtk-busybox-kconfigs-bd90baeb9f9a255a545e0ece9197f89f04395db0.tar.xz
Import busybox-1.16.x kconfigs symbolsembtk-busybox-kconfigs-1.16.1
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
Diffstat (limited to 'busybox-shell.kconfig')
-rw-r--r--busybox-shell.kconfig76
1 files changed, 44 insertions, 32 deletions
diff --git a/busybox-shell.kconfig b/busybox-shell.kconfig
index 158a7e4..84b7124 100644
--- a/busybox-shell.kconfig
+++ b/busybox-shell.kconfig
@@ -16,11 +16,12 @@ choice
config KEMBTK_BUSYB_FEATURE_SH_IS_ASH
select KEMBTK_BUSYB_ASH
bool "ash"
+ depends on !KEMBTK_BUSYB_NOMMU
config KEMBTK_BUSYB_FEATURE_SH_IS_HUSH
select KEMBTK_BUSYB_HUSH
- bool "hush"
depends on EMBTK_BB_VERSION_1_13_X || EMBTK_BB_VERSION_1_14_X
+ bool "hush"
####config FEATURE_SH_IS_LASH
#### select KEMBTK_BUSYB_LASH
@@ -28,6 +29,7 @@ config KEMBTK_BUSYB_FEATURE_SH_IS_HUSH
config KEMBTK_BUSYB_FEATURE_SH_IS_MSH
select KEMBTK_BUSYB_MSH
+ depends on EMBTK_BB_VERSION_1_13_X || EMBTK_BB_VERSION_1_14_X
bool "msh"
config KEMBTK_BUSYB_FEATURE_SH_IS_NONE
@@ -37,6 +39,7 @@ endchoice
config KEMBTK_BUSYB_ASH
bool "ash"
+ depends on !KEMBTK_BUSYB_NOMMU
help
Tha 'ash' shell adds about 60k in the default configuration and is
the most complete and most pedantically correct shell included with
@@ -59,19 +62,21 @@ config KEMBTK_BUSYB_ASH_JOB_CONTROL
Enable job control in the ash shell.
config KEMBTK_BUSYB_ASH_READ_NCHARS
- bool "'read -n N' and 'read -s' support"
- depends on KEMBTK_BUSYB_ASH
- help
- 'read -n N' will return a value after N characters have been read.
- 'read -s' will read without echoing the user's input.
+ bool "'read -n N' and 'read -s' support"
+ depends on KEMBTK_BUSYB_ASH
+ depends on EMBTK_BB_VERSION_1_13_X || EMBTK_BB_VERSION_1_14_X || EMBTK_BB_VERSION_1_15_X
+ help
+ 'read -n N' will return a value after N characters have been read.
+ 'read -s' will read without echoing the user's input.
config KEMBTK_BUSYB_ASH_READ_TIMEOUT
- bool "'read -t S' support"
- depends on KEMBTK_BUSYB_ASH
- help
- 'read -t S' will return a value after S seconds have passed.
- This implementation will allow fractional seconds, expressed
- as a decimal fraction, e.g. 'read -t 2.5 foo'.
+ bool "'read -t S' support"
+ depends on KEMBTK_BUSYB_ASH
+ depends on EMBTK_BB_VERSION_1_13_X || EMBTK_BB_VERSION_1_14_X || EMBTK_BB_VERSION_1_15_X
+ help
+ 'read -t S' will return a value after S seconds have passed.
+ This implementation will allow fractional seconds, expressed
+ as a decimal fraction, e.g. 'read -t 2.5 foo'.
config KEMBTK_BUSYB_ASH_ALIAS
bool "alias support"
@@ -81,21 +86,21 @@ config KEMBTK_BUSYB_ASH_ALIAS
Enable alias support in the ash shell.
config KEMBTK_BUSYB_ASH_MATH_SUPPORT
- bool "Posix math support"
- default y
- depends on KEMBTK_BUSYB_ASH
- depends on EMBTK_BB_VERSION_1_13_X
- help
- Enable math support in the ash shell.
+ bool "Posix math support"
+ default y
+ depends on KEMBTK_BUSYB_ASH
+ depends on EMBTK_BB_VERSION_1_13_X
+ help
+ Enable math support in the ash shell.
config KEMBTK_BUSYB_ASH_MATH_SUPPORT_64
- bool "Extend Posix math support to 64 bit"
- depends on KEMBTK_BUSYB_ASH_MATH_SUPPORT
- depends on EMBTK_BB_VERSION_1_13_X
- help
- Enable 64-bit math support in the ash shell. This will make
- the shell slightly larger, but will allow computation with very
- large numbers.
+ bool "Extend Posix math support to 64 bit"
+ depends on KEMBTK_BUSYB_ASH_MATH_SUPPORT
+ depends on EMBTK_BB_VERSION_1_13_X
+ help
+ Enable 64-bit math support in the ash shell. This will make
+ the shell slightly larger, but will allow computation with very
+ large numbers.
config KEMBTK_BUSYB_ASH_GETOPTS
bool "Builtin getopt to parse positional parameters"
@@ -181,7 +186,7 @@ config KEMBTK_BUSYB_HUSH_BASH_COMPAT
bool "bash-compatible extensions"
default y
depends on KEMBTK_BUSYB_HUSH
- depends on EMBTK_BB_VERSION_1_15_X
+ depends on EMBTK_BB_VERSION_1_15_X || EMBTK_BB_VERSION_1_16_X
help
Enable bash-compatible extensions.
@@ -198,7 +203,7 @@ config KEMBTK_BUSYB_HUSH_INTERACTIVE
help
Enable interactive mode (prompt and command editing).
Without this, hush simply reads and executes commands
- from stdin just like a shell script from the file.
+ from stdin just like a shell script from a file.
No prompt, no KEMBTK_BUSYB_PS1/PS2 magic shell variables.
config KEMBTK_BUSYB_HUSH_JOB
@@ -238,7 +243,7 @@ config KEMBTK_BUSYB_HUSH_CASE
config KEMBTK_BUSYB_HUSH_FUNCTIONS
bool "Support funcname() { commands; } syntax"
depends on KEMBTK_BUSYB_HUSH
- depends on EMBTK_BB_VERSION_1_14_X || EMBTK_BB_VERSION_1_15_X
+ depends on EMBTK_BB_VERSION_1_14_X || EMBTK_BB_VERSION_1_15_X || EMBTK_BB_VERSION_1_16_X
help
Enable support for shell functions in hush. +800 bytes.
@@ -251,13 +256,21 @@ config KEMBTK_BUSYB_HUSH_LOCAL
config KEMBTK_BUSYB_HUSH_EXPORT_N
bool "Support export '-n' option"
depends on KEMBTK_BUSYB_HUSH
- depends on EMBTK_BB_VERSION_1_14_X || EMBTK_BB_VERSION_1_15_X
+ depends on EMBTK_BB_VERSION_1_14_X || EMBTK_BB_VERSION_1_15_X || EMBTK_BB_VERSION_1_16_X
help
Enable support for export '-n' option in hush. It is a bash extension.
+config KEMBTK_BUSYB_HUSH_RANDOM_SUPPORT
+ bool "Pseudorandom generator and $RANDOM variable"
+ depends on KEMBTK_BUSYB_HUSH
+ depends on EMBTK_BB_VERSION_1_16_X
+ help
+ Enable pseudorandom generator and dynamic variable "$RANDOM".
+ Each read of "$RANDOM" will generate a new pseudorandom value.
+
config KEMBTK_BUSYB_LASH
bool "lash (deprecated: aliased to hush)"
- select KEMBTK_BUSYB_HUSH if EMBTK_BB_VERSION_1_15_X
+ select KEMBTK_BUSYB_HUSH if (EMBTK_BB_VERSION_1_15_X || EMBTK_BB_VERSION_1_16_X)
help
lash is deprecated and will be removed, please migrate to hush.
@@ -280,14 +293,13 @@ config KEMBTK_BUSYB_SH_MATH_SUPPORT
bool "POSIX math support"
default y
depends on KEMBTK_BUSYB_ASH || KEMBTK_BUSYB_HUSH
- depends on EMBTK_BB_VERSION_1_14_X || EMBTK_BB_VERSION_1_15_X
+ depends on EMBTK_BB_VERSION_1_14_X || EMBTK_BB_VERSION_1_15_X || EMBTK_BB_VERSION_1_16_X
help
Enable math support in the shell via $((...)) syntax.
config KEMBTK_BUSYB_SH_MATH_SUPPORT_64
bool "Extend POSIX math support to 64 bit"
depends on KEMBTK_BUSYB_SH_MATH_SUPPORT
- depends on EMBTK_BB_VERSION_1_14_X || EMBTK_BB_VERSION_1_15_X
help
Enable 64-bit math support in the shell. This will make the shell
slightly larger, but will allow computation with very large numbers.