package/lua*: drop redundant dependencies on BR2_PACKAGE_HAS_LUAINTERPRETER
PATCH 1/2 package/lua*: drop redundant dependencies on BR2_PACKAGE_HAS_LUAINTERPRETER
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 <[email protected]>
--- package/lbase64/Config.in | 1 - package/lpeg/Config.in | 1 - package/lpty/Config.in | 1 - package/lrandom/Config.in | 1 - package/lsqlite3/Config.in | 1 - package/lua-cjson/Config.in | 1 - package/lua-ev/Config.in | 1 - package/lua-msgpack-native/Config.in | 1 - package/lua-periphery/Config.in | 1 - package/luaexpat/Config.in | 1 - package/luafilesystem/Config.in | 1 - package/luaposix/Config.in | 1 - package/luasec/Config.in | 1 - package/luasocket/Config.in | 1 - package/luasql-sqlite3/Config.in | 1 - package/lutok/Config.in | 1 - package/rings/Config.in | 1 - 17 files changed, 17 deletions(-)
package/lbase64/Config.in +0 -1
@@ -1,6 +1,5 @@ config BR2_PACKAGE_LBASE64 bool "lbase64" - depends on BR2_PACKAGE_HAS_LUAINTERPRETER help A base64 library for Lua
package/lpeg/Config.in +0 -1
@@ -1,6 +1,5 @@ config BR2_PACKAGE_LPEG bool "lpeg" - depends on BR2_PACKAGE_HAS_LUAINTERPRETER help LPeg is a new pattern-matching library for Lua, based on Parsing Expression Grammars (PEGs).
package/lpty/Config.in +0 -1
@@ -1,6 +1,5 @@ config BR2_PACKAGE_LPTY bool "lpty" - depends on BR2_PACKAGE_HAS_LUAINTERPRETER help A simple facility for lua to control other programs via PTYs.
package/lrandom/Config.in +0 -1
@@ -1,6 +1,5 @@ config BR2_PACKAGE_LRANDOM bool "lrandom" - depends on BR2_PACKAGE_HAS_LUAINTERPRETER help A library for generating random numbers based on the Mersenne Twister
package/lsqlite3/Config.in +0 -1
@@ -1,6 +1,5 @@ config BR2_PACKAGE_LSQLITE3 bool "lsqlite3" - depends on BR2_PACKAGE_HAS_LUAINTERPRETER select BR2_PACKAGE_SQLITE help a thin Lua wrapper for the SQLite3 library.
package/lua-cjson/Config.in +0 -1
@@ -1,6 +1,5 @@ config BR2_PACKAGE_LUA_CJSON bool "lua-cjson" - depends on BR2_PACKAGE_HAS_LUAINTERPRETER help The Lua CJSON module provides JSON support for Lua. It features:
package/lua-ev/Config.in +0 -1
@@ -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.
package/lua-msgpack-native/Config.in +0 -1
@@ -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
package/lua-periphery/Config.in +0 -1
@@ -1,6 +1,5 @@ config BR2_PACKAGE_LUA_PERIPHERY bool "lua-periphery" - depends on BR2_PACKAGE_HAS_LUAINTERPRETER help A library for GPIO, SPI, I2C, MMIO, and Serial peripheral I/O interface access in userspace Linux with Lua.
package/luaexpat/Config.in +0 -1
@@ -1,6 +1,5 @@ config BR2_PACKAGE_LUAEXPAT bool "luaexpat" - depends on BR2_PACKAGE_HAS_LUAINTERPRETER select BR2_PACKAGE_EXPAT help LuaExpat is a SAX XML parser based on the Expat library.
package/luafilesystem/Config.in +0 -1
@@ -1,6 +1,5 @@ config BR2_PACKAGE_LUAFILESYSTEM bool "luafilesystem" - depends on BR2_PACKAGE_HAS_LUAINTERPRETER help LuaFileSystem offers a portable way to access the underlying directory structure and file attributes.
package/luaposix/Config.in +0 -1
@@ -1,6 +1,5 @@ config BR2_PACKAGE_LUAPOSIX bool "luaposix" - depends on BR2_PACKAGE_HAS_LUAINTERPRETER # "bit32" is included in Lua 5.2+. luajit has an equivalent # "bit" module, but since it has a different name, luaposix # doesn't find it.
package/luasec/Config.in +0 -1
@@ -1,6 +1,5 @@ config BR2_PACKAGE_LUASEC bool "luasec" - depends on BR2_PACKAGE_HAS_LUAINTERPRETER select BR2_PACKAGE_OPENSSL select BR2_PACKAGE_LUASOCKET help
package/luasocket/Config.in +0 -1
@@ -1,6 +1,5 @@ config BR2_PACKAGE_LUASOCKET bool "luasocket" - depends on BR2_PACKAGE_HAS_LUAINTERPRETER help LuaSocket is the most comprehensive networking support library for the Lua language.
package/luasql-sqlite3/Config.in +0 -1
@@ -1,6 +1,5 @@ config BR2_PACKAGE_LUASQL_SQLITE3 bool "luasql-sqlite3" - depends on BR2_PACKAGE_HAS_LUAINTERPRETER select BR2_PACKAGE_SQLITE help LuaSQL is a simple interface from Lua to a DBMS.
package/lutok/Config.in +0 -1
@@ -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
package/rings/Config.in +0 -1
@@ -1,6 +1,5 @@ config BR2_PACKAGE_RINGS bool "rings" - depends on BR2_PACKAGE_HAS_LUAINTERPRETER help Provides a way to create new Lua states from within Lua.
Signature · 1 line
2.20.1
PATCH 2/2 package/lua-msgpack-native: adjust Config.in comment
The Config.in comment of lua-msgpack-native only indicates that it needs Lua 5.1, while the package can actually build with LuaJIT. This commit adjusts the comment to match the reality.
Signed-off-by Thomas Petazzoni <[email protected]>
--- package/lua-msgpack-native/Config.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/lua-msgpack-native/Config.in +1 -1
@@ -7,6 +7,6 @@ config BR2_PACKAGE_LUA_MSGPACK_NATIVE https://github.com/kengonakajima/lua-msgpack-native -comment "lua-msgpack-native needs a Lua 5.1 interpreter" +comment "lua-msgpack-native needs Lua 5.1 or LuaJIT" depends on !BR2_PACKAGE_LUA_5_1 depends on !BR2_PACKAGE_LUAJIT
Signature · 1 line
2.20.1