diff options
Diffstat (limited to 'cmd/Kconfig')
-rw-r--r-- | cmd/Kconfig | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig index 5a7678f0ac9..26aeeeed03b 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -22,6 +22,27 @@ config HUSH_PARSER If disabled, you get the old, much simpler behaviour with a somewhat smaller memory footprint. +menu "Hush flavor to use" +depends on HUSH_PARSER + +config HUSH_OLD_PARSER + bool "Use hush old parser" + help + This option enables the old flavor of hush based on hush Busybox from + 2005. + +config HUSH_MODERN_PARSER + bool "Use hush modern parser" + default y + help + This option enables the new flavor of hush based on hush upstream + Busybox. + +config HUSH_SELECTABLE + bool + default y if HUSH_OLD_PARSER && HUSH_MODERN_PARSER +endmenu + config CMDLINE_EDITING bool "Enable command line editing" default y |