4a09e9b54f
This patch introduces the luainterpreter virtual package, which is provided either by 'lua' or by 'lua-jit'. Packages that require a Lua interpreter can then depend on BR2_PACKAGE_LUAINTERPRETER (in their Config.in) and luainterpreter (in their .mk). Signed-off-by: Francois Perrad <francois.perrad@gadz.org> [yann.morin.1998@free.fr: switch to package-defined providers, apply Thomas' comments] Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
15 lines
540 B
Plaintext
15 lines
540 B
Plaintext
config BR2_PACKAGE_LUAPOSIX
|
|
bool "luaposix"
|
|
depends on BR2_PACKAGE_HAS_LUA_INTERPRETER
|
|
select BR2_PACKAGE_LUABITOP if BR2_PACKAGE_LUA
|
|
# LuaBitOp is already included in LuaJIT
|
|
help
|
|
luaposix is a POSIX binding, including curses, for Lua 5.1
|
|
and 5.2; Like most libraries it simply binds to C APIs on
|
|
the underlying system, so it won't work on a non-POSIX
|
|
system. However, it does try to detect the level of POSIX
|
|
conformance of the underlying system and bind only available
|
|
APIs
|
|
|
|
https://github.com/luaposix/luaposix
|