diff options
author | 2014-01-11 16:42:03 +0100 | |
---|---|---|
committer | 2014-01-13 23:15:33 +0100 | |
commit | 4a09e9b54f6bbfec304ed84bfe199b245fcff35d (patch) | |
tree | 66b73b5784bd5f8071cdf4e76929cc4226d1dc8c /package/lua | |
parent | 9c47cd5b6471e62874fa88e58c1bf9b44742a9c3 (diff) | |
download | buildroot-4a09e9b54f6bbfec304ed84bfe199b245fcff35d.tar.gz buildroot-4a09e9b54f6bbfec304ed84bfe199b245fcff35d.tar.bz2 |
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>
Diffstat (limited to 'package/lua')
-rw-r--r-- | package/lua/Config.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/package/lua/Config.in b/package/lua/Config.in index 8c05d081e4..b96ef0e92e 100644 --- a/package/lua/Config.in +++ b/package/lua/Config.in @@ -1,5 +1,6 @@ config BR2_PACKAGE_LUA bool "lua" + select BR2_PACKAGE_HAS_LUA_INTERPRETER help Lua is a powerful, fast, light-weight, embeddable scripting language. @@ -7,6 +8,9 @@ config BR2_PACKAGE_LUA if BR2_PACKAGE_LUA +config BR2_PACKAGE_PROVIDES_LUA_INTERPRETER + default "lua" + choice prompt "Lua Interpreter command-line editing" default BR2_PACKAGE_LUA_INTERPRETER_EDITING_NONE |