[Buildroot] [git commit] package/luabitop: depends on lua 5.1

Thomas Petazzoni thomas.petazzoni at bootlin.com
Sat Aug 8 21:47:47 UTC 2020


commit: https://git.buildroot.net/buildroot/commit/?id=af0357140c6b2addc12a05dccb7397de78e39edd
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

In preparation for the introduction of Lua 5.4, clarify the dependency
of luabitop: it only makes sense when used with Lua 5.1.

Also update the comment to no longer mention Lua 5.2, since we don't
support Lua 5.2 in Buildroot anymore.

Note that as explained in https://luajit.org/extensions.html, LuaJit
already implements luabitop functions, so luabitop is really for Lua
5.1 only, not for all Lua interpreters that implemented the 5.1 ABI.

Signed-off-by: Francois Perrad <francois.perrad at gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
---
 package/luabitop/Config.in | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/package/luabitop/Config.in b/package/luabitop/Config.in
index a819fe8ae7..656b1c7391 100644
--- a/package/luabitop/Config.in
+++ b/package/luabitop/Config.in
@@ -1,11 +1,11 @@
 config BR2_PACKAGE_LUABITOP
 	bool "luabitop"
-	depends on !BR2_PACKAGE_LUA_5_3
+	depends on BR2_PACKAGE_LUA_5_1
 	help
 	  Lua BitOp is a C extension module for Lua 5.1/5.2 which adds
 	  bitwise operations on numbers.
 
 	  http://bitop.luajit.org
 
-comment "luabitop needs a Lua 5.1/5.2 interpreter"
-	depends on BR2_PACKAGE_LUA_5_3
+comment "luabitop needs Lua 5.1"
+	depends on !BR2_PACKAGE_LUA_5_1


More information about the buildroot mailing list