ostree: not compatible with riscv32 when ptest enabled

ostree-ptest rdepends on strace which is not compatible with riscv32. So
when ptest is enabled, set ostree not compatible with riscv32.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Kai Kang
2023-09-14 11:22:25 +08:00
committed by Khem Raj
parent 56027584e9
commit dae677f7ce
@@ -28,6 +28,8 @@ S = "${WORKDIR}/libostree-${PV}"
inherit autotools bash-completion gobject-introspection github-releases gtk-doc manpages pkgconfig ptest-gnome systemd
COMPATIBLE_HOST:riscv32 = "${@bb.utils.contains('DISTRO_FEATURES', 'ptest', 'null', 'riscv32', d)}"
UNKNOWN_CONFIGURE_OPT_IGNORE = "--disable-introspection --enable-introspection"
# Workaround compile failure: