cmd: Set modern hush as default shell

Signed-off-by: Francis Laniel <francis.laniel@amarulasolutions.com>
This commit is contained in:
Francis Laniel 2023-12-22 22:02:43 +01:00 committed by Tom Rini
parent c24cb3ebff
commit 78912cfde2

View file

@ -27,21 +27,17 @@ depends on HUSH_PARSER
config HUSH_OLD_PARSER config HUSH_OLD_PARSER
bool "Use hush old parser" bool "Use hush old parser"
default y
help help
This option enables the old flavor of hush based on hush Busybox from This option enables the old flavor of hush based on hush Busybox from
2005. 2005.
It is actually the default U-Boot shell when decided to use hush as shell.
config HUSH_MODERN_PARSER config HUSH_MODERN_PARSER
bool "Use hush modern parser" bool "Use hush modern parser"
default y
help help
This option enables the new flavor of hush based on hush upstream This option enables the new flavor of hush based on hush upstream
Busybox. Busybox.
This parser is experimental and not well tested.
config HUSH_SELECTABLE config HUSH_SELECTABLE
bool bool
default y if HUSH_OLD_PARSER && HUSH_MODERN_PARSER default y if HUSH_OLD_PARSER && HUSH_MODERN_PARSER