summaryrefslogtreecommitdiffstats
path: root/common/Kconfig
diff options
context:
space:
mode:
authorHolger Schurig <holgerschurig@gmail.com>2014-05-13 10:28:53 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2014-05-14 10:03:48 +0200
commit26a34100e88b707db00f0b66361f344177cdf4ff (patch)
treea2697e4300c94e39d43d8a80cf00a0332a83e254 /common/Kconfig
parent6e3a969106fc84413f6ccef34fb78c0f8f9dd6ba (diff)
downloadbarebox-26a34100e88b707db00f0b66361f344177cdf4ff.tar.gz
barebox-26a34100e88b707db00f0b66361f344177cdf4ff.tar.xz
commands: HUSH_GETOPT -> CMD_GETOPT
* this compile option actually turns on a command, so name it accordingly * also move the Kconfig definition into commands/Kconfig, thus placing getopt into the "Shell scripting commands" section * while at it, improve Kconfig documention Signed-off-by: Holger Schurig <holgerschurig@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/Kconfig')
-rw-r--r--common/Kconfig11
1 files changed, 2 insertions, 9 deletions
diff --git a/common/Kconfig b/common/Kconfig
index 20ce60ccd3..7a92a59722 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -369,13 +369,6 @@ config HUSH_FANCY_PROMPT
Allow to set PS1 from the command line. PS1 can have several escaped commands
like \h for the 'model' string or \w for the current working directory.
-config HUSH_GETOPT
- bool
- depends on SHELL_HUSH
- prompt "enable builtin getopt"
- help
- This enables a getopt function builtin to hush.
-
config CMDLINE_EDITING
depends on !SHELL_NONE
bool
@@ -586,7 +579,7 @@ config DEFAULT_ENVIRONMENT_GENERIC_NEW
bool
depends on DEFAULT_ENVIRONMENT
depends on SHELL_HUSH
- select HUSH_GETOPT
+ select CMD_GETOPT
select GLOB
select GLOB_SORT
select CMD_GLOBAL
@@ -616,7 +609,7 @@ config DEFAULT_ENVIRONMENT_GENERIC
depends on !HAVE_DEFAULT_ENVIRONMENT_NEW
depends on DEFAULT_ENVIRONMENT
depends on SHELL_HUSH
- select HUSH_GETOPT
+ select CMD_GETOPT
select CMD_CRC
select CMD_CRC_CMP
select CMD_AUTOMOUNT if HAVE_DEFAULT_ENVIRONMENT_NEW