summaryrefslogtreecommitdiffstats
path: root/common/Kconfig
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2007-09-24 01:40:06 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2007-09-24 01:40:06 +0200
commit14b5c2a647924440444977806c72b8ee6f586e26 (patch)
tree66dbf1b77d7ed2222db20a7a13ac9a7461d16a69 /common/Kconfig
parentd97304aef21a7f3ac5a6699e3549e30507c760a3 (diff)
downloadbarebox-14b5c2a647924440444977806c72b8ee6f586e26.tar.gz
barebox-14b5c2a647924440444977806c72b8ee6f586e26.tar.xz
- teach hush to honour PATH variable
- remove common/main.c. This is now handled in the different shells.
Diffstat (limited to 'common/Kconfig')
-rw-r--r--common/Kconfig17
1 files changed, 10 insertions, 7 deletions
diff --git a/common/Kconfig b/common/Kconfig
index 7672ebffff..18788368b7 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -65,18 +65,21 @@ config MAXARGS
prompt "max. Number of arguments accepted for monitor commands"
default 16
-config HUSH_PARSER
- bool
- prompt "Use hush parser"
+choice
+ prompt "Select your shell"
-config SIMPLE_PARSER
- bool
+config SHELL_HUSH
+ bool "hush parser"
default y
- depends on !HUSH_PARSER
+
+config SHELL_SIMPLE
+ bool "Simple parser"
+
+endchoice
config PROMPT_HUSH_PS2
string
- depends on HUSH_PARSER
+ depends on SHELL_HUSH
prompt "hush PS2"
default "> "