luainterpreter: create virtual package
authorFrancois Perrad <fperrad@gmail.com>
Sat, 11 Jan 2014 15:42:03 +0000 (16:42 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 13 Jan 2014 22:15:33 +0000 (23:15 +0100)
commit4a09e9b54f6bbfec304ed84bfe199b245fcff35d
tree66b73b5784bd5f8071cdf4e76929cc4226d1dc8c
parent9c47cd5b6471e62874fa88e58c1bf9b44742a9c3
luainterpreter: create virtual package

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>
27 files changed:
package/Config.in
package/lbase64/Config.in
package/lbase64/lbase64.mk
package/lua-ev/Config.in
package/lua-ev/lua-ev.mk
package/lua-msgpack-native/Config.in
package/lua-msgpack-native/lua-msgpack-native.mk
package/lua/Config.in
package/luacjson/Config.in
package/luacjson/luacjson.mk
package/luaexpat/Config.in
package/luaexpat/luaexpat.mk
package/luafilesystem/Config.in
package/luafilesystem/luafilesystem.mk
package/luainterpreter/Config.in [new file with mode: 0644]
package/luainterpreter/luainterpreter.mk [new file with mode: 0644]
package/luajit/Config.in
package/luaposix/Config.in
package/luaposix/luaposix.mk
package/luasec/Config.in
package/luasec/luasec.mk
package/luasocket/Config.in
package/luasocket/luasocket.mk
package/luasql/Config.in
package/luasql/luasql.mk
package/rings/Config.in
package/rings/rings.mk