diff options
| author | Francois Perrad <fperrad@gmail.com> | 2014-01-11 16:42:03 +0100 |
|---|---|---|
| committer | Peter Korsgaard <peter@korsgaard.com> | 2014-01-13 23:15:33 +0100 |
| commit | 4a09e9b54f6bbfec304ed84bfe199b245fcff35d (patch) | |
| tree | 66b73b5784bd5f8071cdf4e76929cc4226d1dc8c /package/luafilesystem | |
| parent | 9c47cd5b6471e62874fa88e58c1bf9b44742a9c3 (diff) | |
| download | buildroot-4a09e9b54f6bbfec304ed84bfe199b245fcff35d.tar.gz buildroot-4a09e9b54f6bbfec304ed84bfe199b245fcff35d.zip | |
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/luafilesystem')
| -rw-r--r-- | package/luafilesystem/Config.in | 1 | ||||
| -rw-r--r-- | package/luafilesystem/luafilesystem.mk | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/package/luafilesystem/Config.in b/package/luafilesystem/Config.in index 7c130f8d3b..489ebf359a 100644 --- a/package/luafilesystem/Config.in +++ b/package/luafilesystem/Config.in @@ -1,5 +1,6 @@ config BR2_PACKAGE_LUAFILESYSTEM bool "luafilesystem" + depends on BR2_PACKAGE_HAS_LUA_INTERPRETER help LuaFileSystem offers a portable way to access the underlying directory structure and file attributes. diff --git a/package/luafilesystem/luafilesystem.mk b/package/luafilesystem/luafilesystem.mk index c75d7a7cc7..c928c6ee52 100644 --- a/package/luafilesystem/luafilesystem.mk +++ b/package/luafilesystem/luafilesystem.mk @@ -6,7 +6,7 @@ LUAFILESYSTEM_VERSION = 1.6.2 LUAFILESYSTEM_SITE = http://github.com/downloads/keplerproject/luafilesystem -LUAFILESYSTEM_DEPENDENCIES = lua +LUAFILESYSTEM_DEPENDENCIES = luainterpreter LUAFILESYSTEM_LICENSE = MIT ifeq ($(BR2_LARGEFILE),y) |

