lua: support linenoise

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
Francois Perrad
2012-12-03 06:12:14 +00:00
committed by Peter Korsgaard
parent d87847203f
commit 635bebf559
3 changed files with 48 additions and 1 deletions

View File

@@ -7,6 +7,15 @@ config BR2_PACKAGE_LUA
if BR2_PACKAGE_LUA
choice
prompt "Lua Interpreter command-line editing"
default BR2_PACKAGE_LUA_INTERPRETER_EDITING_NONE
config BR2_PACKAGE_LUA_INTERPRETER_EDITING_NONE
bool "none"
help
None.
config BR2_PACKAGE_LUA_INTERPRETER_READLINE
bool "readline support"
select BR2_PACKAGE_READLINE
@@ -14,4 +23,12 @@ config BR2_PACKAGE_LUA_INTERPRETER_READLINE
help
Enables command-line editing in the lua interpreter.
config BR2_PACKAGE_LUA_INTERPRETER_LINENOISE
bool "linenoise support"
select BR2_PACKAGE_LINENOISE
help
Enables command-line editing in the lua interpreter.
endchoice
endif