1config BR2_PACKAGE_LUA 2 bool "lua" 3 select BR2_PACKAGE_HAS_LUAINTERPRETER 4 help 5 Lua is a powerful, fast, light-weight, embeddable scripting 6 language. 7 8 http://www.lua.org/ 9 10if BR2_PACKAGE_LUA 11 12config BR2_PACKAGE_PROVIDES_LUAINTERPRETER 13 default "lua" 14 15choice 16 prompt "Lua Version" 17 default BR2_PACKAGE_LUA_5_3 18 help 19 Select the version of Lua API/ABI you wish to use. 20 21config BR2_PACKAGE_LUA_5_1 22 bool "Lua 5.1.x" 23 select BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1 24 25config BR2_PACKAGE_LUA_5_3 26 bool "Lua 5.3.x" 27 select BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_3 28 29config BR2_PACKAGE_LUA_5_4 30 bool "Lua 5.4.x" 31 select BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_4 32 33endchoice 34 35if BR2_PACKAGE_LUA_5_3 || BR2_PACKAGE_LUA_5_4 36config BR2_PACKAGE_LUA_32BITS 37 bool "Use 32 bit numbers" 38 default y if !BR2_ARCH_IS_64 39 help 40 Use a 32 bit data type for numbers / integers instead of the 41 default 64 bit type. This option is particularly attractive 42 for small machines and embedded systems. 43 44endif 45 46choice 47 prompt "Lua command-line editing" 48 default BR2_PACKAGE_LUA_EDITING_NONE 49 50config BR2_PACKAGE_LUA_EDITING_NONE 51 bool "none" 52 help 53 None. 54 55config BR2_PACKAGE_LUA_READLINE 56 bool "readline support" 57 select BR2_PACKAGE_READLINE 58 select BR2_PACKAGE_NCURSES 59 help 60 Enables command-line editing in the Lua interpreter. 61 62config BR2_PACKAGE_LUA_LINENOISE 63 bool "linenoise support" 64 select BR2_PACKAGE_LINENOISE 65 help 66 Enables command-line editing in the Lua interpreter. 67 68endchoice 69 70endif 71