diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2007-07-05 18:01:42 +0200 |
---|---|---|
committer | Sascha Hauer <sha@octopus.labnet.pengutronix.de> | 2007-07-05 18:01:42 +0200 |
commit | 798de5071d2a775af8931e99560a0eb9f72dfec3 (patch) | |
tree | 4a6b10d60d6f612a7589ba301a5fd2a47fb38b25 /common/Kconfig | |
parent | a26b7ce1209358ba6580382d1e0f8ebaa31b42d1 (diff) | |
download | barebox-798de5071d2a775af8931e99560a0eb9f72dfec3.tar.gz barebox-798de5071d2a775af8931e99560a0eb9f72dfec3.tar.xz |
svn_rev_307
some main.c cleanup:
- move the parser used when hush is disabled to parser.c
- move readline related functions to readline.c (with cmdline editing)
and readline_simple.c (no cmdline editing)
Diffstat (limited to 'common/Kconfig')
-rw-r--r-- | common/Kconfig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/common/Kconfig b/common/Kconfig index 366a8b4b11..6dbe1d56bf 100644 --- a/common/Kconfig +++ b/common/Kconfig @@ -21,6 +21,11 @@ config CMDLINE_EDITING bool prompt "Enable command line editing" +config SIMPLE_READLINE + bool + default y + depends on !CMDLINE_EDITING + config LONGHELP bool prompt "Enable long help texts" @@ -39,6 +44,11 @@ config HUSH_PARSER bool prompt "Use hush parser" +config SIMPLE_PARSER + bool + default y + depends on !HUSH_PARSER + config PROMPT_HUSH_PS2 string depends on HUSH_PARSER |