@@ -28,10 +28,6 @@ config BR2_PACKAGE_LUA_5_3
endchoice
-config BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION
- default "5.1" if BR2_PACKAGE_LUA_5_1
- default "5.3" if BR2_PACKAGE_LUA_5_3
-
if BR2_PACKAGE_LUA_5_3
config BR2_PACKAGE_LUA_32BITS
bool "Use 32 bit numbers"
@@ -7,6 +7,8 @@ config BR2_PACKAGE_PROVIDES_LUAINTERPRETER
config BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION
string
+ default "5.1" if BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1
+ default "5.3" if BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_3
config BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1
bool
@@ -34,9 +34,6 @@ if BR2_PACKAGE_LUAJIT
config BR2_PACKAGE_PROVIDES_LUAINTERPRETER
default "luajit"
-config BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION
- default "5.1"
-
config BR2_PACKAGE_LUAJIT_COMPAT52
bool "Lua 5.2 compatibility"
help
Now that we have booleans to represent the Lua ABI version, and that every Lua providers do select those, there is no longer any reason for them to also handle the ABI version string anymore. Move the defaults into the common luainterpreter. Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> Cc: James Hilliard <james.hilliard1@gmail.com> Cc: Francois Perrad <francois.perrad@gadz.org> --- package/lua/Config.in | 4 ---- package/luainterpreter/Config.in | 2 ++ package/luajit/Config.in | 3 --- 3 files changed, 2 insertions(+), 7 deletions(-)