Since a number of packages depend on specific ABI version that are
provided by lua and luajit packages we should have a kconfig variable
that those packages can depend on.
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
config BR2_PACKAGE_LUA_5_1
bool "Lua 5.1.x"
+ select BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1
config BR2_PACKAGE_LUA_5_3
bool "Lua 5.3.x"
+ select BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_3
endchoice
config BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION
string
+config BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1
+ bool
+
+config BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_3
+ bool
+
config BR2_PACKAGE_PROVIDES_HOST_LUAINTERPRETER
string
default "host-lua"
# binaries, so check if that option is supported. See
# luajit.mk for details.
select BR2_PACKAGE_HAS_LUAINTERPRETER
+ select BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1
select BR2_HOSTARCH_NEEDS_IA32_COMPILER if !BR2_ARCH_IS_64
help
LuaJIT implements the full set of language features defined