summaryrefslogtreecommitdiffstats
path: root/package/lua/Config.in
diff options
context:
space:
mode:
authorFrancois Perrad <fperrad@gmail.com>2014-01-17 18:47:35 +0100
committerPeter Korsgaard <peter@korsgaard.com>2014-01-21 23:27:13 +0100
commitba296ab1eaeab5ab68c596f7723932788749c9c6 (patch)
treeaedd7608058c10eee77924dee98edc45a57e2719 /package/lua/Config.in
parent93341046d8e25ee6f135a34a8989598de22e32ca (diff)
downloadbuildroot-ba296ab1eaeab5ab68c596f7723932788749c9c6.tar.gz
buildroot-ba296ab1eaeab5ab68c596f7723932788749c9c6.zip
lua: choice between 5.1.x & 5.2.x
Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/lua/Config.in')
-rw-r--r--package/lua/Config.in18
1 files changed, 18 insertions, 0 deletions
diff --git a/package/lua/Config.in b/package/lua/Config.in
index b96ef0e92e..c4c12e9663 100644
--- a/package/lua/Config.in
+++ b/package/lua/Config.in
@@ -12,6 +12,24 @@ config BR2_PACKAGE_PROVIDES_LUA_INTERPRETER
default "lua"
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
+
+choice
prompt "Lua Interpreter command-line editing"
default BR2_PACKAGE_LUA_INTERPRETER_EDITING_NONE
OpenPOWER on IntegriCloud