2007-11-30 02:08:36 +01:00
|
|
|
config BR2_PACKAGE_LUA
|
|
|
|
bool "lua"
|
2014-04-05 17:21:42 +02:00
|
|
|
select BR2_PACKAGE_HAS_LUAINTERPRETER
|
2007-11-30 02:08:36 +01:00
|
|
|
help
|
|
|
|
Lua is a powerful, fast, light-weight, embeddable scripting language.
|
|
|
|
|
|
|
|
http://www.lua.org/
|
2010-04-29 23:03:45 +02:00
|
|
|
|
2012-07-17 21:28:32 +02:00
|
|
|
if BR2_PACKAGE_LUA
|
|
|
|
|
2014-04-05 17:21:42 +02:00
|
|
|
config BR2_PACKAGE_PROVIDES_LUAINTERPRETER
|
2014-01-11 16:42:03 +01:00
|
|
|
default "lua"
|
|
|
|
|
2014-01-17 18:47:35 +01:00
|
|
|
choice
|
|
|
|
prompt "Lua Version"
|
|
|
|
default BR2_PACKAGE_LUA_5_1
|
|
|
|
help
|
|
|
|
Select the version of Lua API/ABI you wish to use.
|
|
|
|
|
|
|
|
config BR2_PACKAGE_LUA_5_1
|
|
|
|
bool "Lua 5.1.x"
|
|
|
|
|
|
|
|
config BR2_PACKAGE_LUA_5_2
|
|
|
|
bool "Lua 5.2.x"
|
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
config BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION
|
|
|
|
default "5.1" if BR2_PACKAGE_LUA_5_1
|
|
|
|
default "5.2" if BR2_PACKAGE_LUA_5_2
|
|
|
|
|
2012-12-03 07:12:14 +01:00
|
|
|
choice
|
2014-04-05 17:21:43 +02:00
|
|
|
prompt "Lua command-line editing"
|
|
|
|
default BR2_PACKAGE_LUA_EDITING_NONE
|
2012-12-03 07:12:14 +01:00
|
|
|
|
2014-04-05 17:21:43 +02:00
|
|
|
config BR2_PACKAGE_LUA_EDITING_NONE
|
2012-12-03 07:12:14 +01:00
|
|
|
bool "none"
|
|
|
|
help
|
|
|
|
None.
|
|
|
|
|
2014-04-05 17:21:43 +02:00
|
|
|
config BR2_PACKAGE_LUA_READLINE
|
2010-04-29 23:03:45 +02:00
|
|
|
bool "readline support"
|
|
|
|
select BR2_PACKAGE_READLINE
|
|
|
|
select BR2_PACKAGE_NCURSES
|
|
|
|
help
|
2013-09-06 23:36:18 +02:00
|
|
|
Enables command-line editing in the Lua interpreter.
|
2010-04-29 23:03:45 +02:00
|
|
|
|
2014-04-05 17:21:43 +02:00
|
|
|
config BR2_PACKAGE_LUA_LINENOISE
|
2012-12-03 07:12:14 +01:00
|
|
|
bool "linenoise support"
|
|
|
|
select BR2_PACKAGE_LINENOISE
|
|
|
|
help
|
2013-09-06 23:36:18 +02:00
|
|
|
Enables command-line editing in the Lua interpreter.
|
2012-12-03 07:12:14 +01:00
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
2012-07-17 21:28:32 +02:00
|
|
|
endif
|