system/readline: Move READLINE_HAVE_EXTMATCH inside SYSTEM_READLINE section
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
6b7fe2ac51
commit
35e442d08c
@ -11,7 +11,6 @@ config NSH_LIBRARY
|
||||
default n
|
||||
select NETUTILS_NETLIB if NET
|
||||
select LIBC_NETDB if NET
|
||||
select READLINE_HAVE_EXTMATCH
|
||||
select BOARDCTL if (!NSH_DISABLE_MKRD && !DISABLE_MOUNTPOINT) || NSH_ARCHINIT || NSH_ROMFSETC
|
||||
select BOARDCTL_MKRD if !NSH_DISABLE_MKRD && !DISABLE_MOUNTPOINT
|
||||
select BOARDCTL_ROMDISK if NSH_ROMFSETC
|
||||
@ -80,6 +79,7 @@ choice
|
||||
config NSH_READLINE
|
||||
bool "Minimal readline()"
|
||||
select SYSTEM_READLINE
|
||||
select READLINE_HAVE_EXTMATCH
|
||||
---help---
|
||||
Selects the minimal implementation of readline(). This minimal
|
||||
implementation provides on backspace for command line editing.
|
||||
|
@ -3,10 +3,6 @@
|
||||
# see the file kconfig-language.txt in the NuttX tools repository.
|
||||
#
|
||||
|
||||
config READLINE_HAVE_EXTMATCH
|
||||
bool
|
||||
default n
|
||||
|
||||
menuconfig SYSTEM_READLINE
|
||||
bool "readline() Support"
|
||||
default n
|
||||
@ -15,6 +11,10 @@ menuconfig SYSTEM_READLINE
|
||||
|
||||
if SYSTEM_READLINE
|
||||
|
||||
config READLINE_HAVE_EXTMATCH
|
||||
bool
|
||||
default n
|
||||
|
||||
config READLINE_ECHO
|
||||
bool "Echo character input"
|
||||
default y
|
||||
|
Loading…
x
Reference in New Issue
Block a user