Kaynağa Gözat

package/luabitop: depends on lua 5.1

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@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Francois Perrad 5 yıl önce
ebeveyn
işleme
af0357140c
1 değiştirilmiş dosya ile 3 ekleme ve 3 silme
  1. 3 3
      package/luabitop/Config.in

+ 3 - 3
package/luabitop/Config.in

@@ -1,11 +1,11 @@
 config BR2_PACKAGE_LUABITOP
 config BR2_PACKAGE_LUABITOP
 	bool "luabitop"
 	bool "luabitop"
-	depends on !BR2_PACKAGE_LUA_5_3
+	depends on BR2_PACKAGE_LUA_5_1
 	help
 	help
 	  Lua BitOp is a C extension module for Lua 5.1/5.2 which adds
 	  Lua BitOp is a C extension module for Lua 5.1/5.2 which adds
 	  bitwise operations on numbers.
 	  bitwise operations on numbers.
 
 
 	  http://bitop.luajit.org
 	  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