diff mbox series

[meta-oe] lua-lgi: Disable on architecture without luajit port

Message ID 20241218171110.680112-2-raj.khem@gmail.com
State New
Headers show
Series [meta-oe] lua-lgi: Disable on architecture without luajit port | expand

Commit Message

Khem Raj Dec. 18, 2024, 5:11 p.m. UTC
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta-oe/recipes-support/lgi/lua-lgi_0.9.2.bb | 6 ++++++
 1 file changed, 6 insertions(+)
diff mbox series

Patch

diff --git a/meta-oe/recipes-support/lgi/lua-lgi_0.9.2.bb b/meta-oe/recipes-support/lgi/lua-lgi_0.9.2.bb
index 1584a931c7..8b436668dc 100644
--- a/meta-oe/recipes-support/lgi/lua-lgi_0.9.2.bb
+++ b/meta-oe/recipes-support/lgi/lua-lgi_0.9.2.bb
@@ -22,3 +22,9 @@  inherit meson pkgconfig
 EXTRA_OEMESON += "--buildtype release -Dtests=false"
 
 FILES:${PN} = "${libdir} ${datadir}"
+
+# ppc64/riscv64/riscv32 is not supported on luajit
+COMPATIBLE_HOST:riscv32 = "null"
+COMPATIBLE_HOST:riscv64 = "null"
+COMPATIBLE_HOST:powerpc64 = "null"
+COMPATIBLE_HOST:powerpc64le = "null"