package/lua-cqueues: disable temporarily with Lua 5.4
authorFrancois Perrad <fperrad@gmail.com>
Tue, 28 Jul 2020 13:21:43 +0000 (15:21 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 8 Aug 2020 16:28:17 +0000 (18:28 +0200)
Also take into account its lua-http reverse dependency.

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/lua-cqueues/Config.in
package/lua-http/Config.in

index 60f022848bc57e2a31cf7d6a4aba9e4d5b63b47f..c319fbdf4dea51c40a2a14ce617a78129cac9a4d 100644 (file)
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_LUA_CQUEUES
        bool "lua-cqueues"
        depends on BR2_TOOLCHAIN_HAS_THREADS
+       depends on !BR2_PACKAGE_LUA_5_4
        select BR2_PACKAGE_OPENSSL
        help
          Continuation Queues: Embeddable asynchronous networking,
@@ -8,5 +9,5 @@ config BR2_PACKAGE_LUA_CQUEUES
 
          http://25thandclement.com/~william/projects/cqueues.html
 
-comment "lua-cqueues needs a toolchain w/ threads"
-       depends on !BR2_TOOLCHAIN_HAS_THREADS
+comment "lua-cqueues needs a toolchain w/ threads, Lua <= 5.3"
+       depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_PACKAGE_LUA_5_4
index 8eefd481b5c330b3ac3a2a0e7a9fc9f9ec12c219..76eff7f299ee750e4f4462c16a8f17ccdc5e94f1 100644 (file)
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_LUA_HTTP
        bool "lua-http"
        depends on BR2_TOOLCHAIN_HAS_THREADS    # luaossl & lua-cqueues
+       depends on !BR2_PACKAGE_LUA_5_4 # lua-cqueues
        select BR2_PACKAGE_LPEG # runtime
        select BR2_PACKAGE_LUA_BASEXX # runtime
        select BR2_PACKAGE_LUA_BINARYHEAP # runtime
@@ -15,5 +16,5 @@ config BR2_PACKAGE_LUA_HTTP
 
          https://daurnimator.github.io/lua-http/
 
-comment "lua-http needs a toolchain w/ threads"
-       depends on !BR2_TOOLCHAIN_HAS_THREADS
+comment "lua-http needs a toolchain w/ threads, Lua <= 5.3"
+       depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_PACKAGE_LUA_5_4