package/luainterpreter: gather the ABI version string defaults

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>
This commit is contained in:
Yann E. MORIN 2020-07-27 17:33:47 +02:00
parent 97cfd0dc9f
commit 5a439727e7
3 changed files with 2 additions and 7 deletions

View File

@ -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"

View File

@ -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

View File

@ -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