package/lua*: drop redundant dependencies on BR2_PACKAGE_HAS_LUAINTERPRETER
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>
Mon, 31 Dec 2018 16:50:01 +0000 (17:50 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 2 Jan 2019 07:48:16 +0000 (08:48 +0100)
All the packages modified by this commit have their Config.in included
by package/Config.in inside a BR2_PACKAGE_HAS_LUAINTERPRETER &&
!BR2_STATIC_LIBS condition. Therefore, duplicating the
BR2_PACKAGE_HAS_LUAINTERPRETER condition in each of their Config.in
file is redundant and unnecessary. This commit drops such redundant
"depends on" statements.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Acked-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/lbase64/Config.in
package/lua-ev/Config.in
package/lua-msgpack-native/Config.in
package/luaposix/Config.in
package/lutok/Config.in

index 34ef943aacef10bb4215e3cbc0441ad49a1204a2..c836ffb5e28a15fc01759332fae959f1be0288ba 100644 (file)
@@ -1,6 +1,5 @@
 config BR2_PACKAGE_LBASE64
        bool "lbase64"
-       depends on BR2_PACKAGE_HAS_LUAINTERPRETER
        help
          A base64 library for Lua
 
index 52f82e11288100165bd04536d3a1b821c0d86514..1e89c270a033a2065f84ebc20535ce54d11fa13a 100644 (file)
@@ -1,6 +1,5 @@
 config BR2_PACKAGE_LUA_EV
        bool "lua-ev"
-       depends on BR2_PACKAGE_HAS_LUAINTERPRETER
        select BR2_PACKAGE_LIBEV
        help
          Get access to the libev library from Lua.
index 3837228fa0a5bae7303e865e2c856dedb4d9cf13..8b6283cc95a6c4d5959054db2e60831faca9e087 100644 (file)
@@ -1,6 +1,5 @@
 config BR2_PACKAGE_LUA_MSGPACK_NATIVE
        bool "lua-msgpack-native"
-       depends on BR2_PACKAGE_HAS_LUAINTERPRETER
        depends on BR2_PACKAGE_LUA_5_1 || BR2_PACKAGE_LUAJIT
        help
          This is a native, C language implementation of msgpack
index d8c30e4fb26dc75eb900d1071d808bdd9963d89a..bdc9926b1e84c3f3a96ee92d2b1dcc67bc4137e5 100644 (file)
@@ -1,6 +1,5 @@
 config BR2_PACKAGE_LUAPOSIX
        bool "luaposix"
-       depends on BR2_PACKAGE_HAS_LUAINTERPRETER
        select BR2_PACKAGE_LUA_STD_NORMALIZE # runtime
        # "bit32" is included in Lua 5.2+. luajit has an equivalent
        # "bit" module, but since it has a different name, luaposix
index ab9c32b6d51b8a0023337fabea247ffcc5bb5540..abeaa4011d87be9fe2678503f8c49f7652da7914 100644 (file)
@@ -9,4 +9,3 @@ config BR2_PACKAGE_LUTOK
 
 comment "lutok needs a toolchain w/ C++ and full Lua"
        depends on !BR2_INSTALL_LIBSTDCPP || BR2_PACKAGE_LUAJIT
-       depends on BR2_PACKAGE_HAS_LUAINTERPRETER