summaryrefslogtreecommitdiffstats
path: root/common/Kconfig
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2013-11-26 14:44:25 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2013-11-26 17:15:48 +0100
commit915976f12918d7fa344c6875a2d0e483c20c166e (patch)
treedd2b09a81e83a1520b9195557ea72a09d6e20682 /common/Kconfig
parent7614ee1640034e44344e253cf0bebfe5f63d4038 (diff)
downloadbarebox-915976f12918d7fa344c6875a2d0e483c20c166e.tar.gz
barebox-915976f12918d7fa344c6875a2d0e483c20c166e.tar.xz
common Kconfig: Add missing depends on
CONFIG_MAXARGS is only used with the simple console support, so add a 'depends on'. While at it, move it below the shell selection. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/Kconfig')
-rw-r--r--common/Kconfig11
1 files changed, 6 insertions, 5 deletions
diff --git a/common/Kconfig b/common/Kconfig
index ccfbc800b9..f47602ec6c 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -292,11 +292,6 @@ config CBSIZE
prompt "Buffer size for input from the Console"
default 1024
-config MAXARGS
- int
- prompt "max. Number of arguments accepted for monitor commands"
- default 16
-
choice
prompt "Select your shell"
@@ -328,6 +323,12 @@ choice
at the end of the barebox startup process.
endchoice
+config MAXARGS
+ int
+ depends on SHELL_SIMPLE
+ prompt "max. Number of arguments accepted for monitor commands"
+ default 16
+
config GLOB
bool
prompt "hush globbing support"