From 21f0a37d12501c4686bbde5a9e1693fbadfa5647 Mon Sep 17 00:00:00 2001 From: Timos Ampelikiotis Date: Thu, 3 Oct 2024 11:32:56 +0300 Subject: Update QEMU vhost-user devices recipes and fix compilation Include only vhost-user-blk, remove vhost-user-rng/input since their rust implementations (by vhost-device crate) are already included. Introduce a temporary solution for QEMU compilation error by adding '--disable-werror' during configuration. Bug-AGL: SPEC-4966 Change-Id: Ie6cd81228391b5e5cd2285a68aa7ab176c631f76 Signed-off-by: Timos Ampelikiotis --- .../qemu-vhost-user-devices/qemu-vhost-user-devices.bb | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/meta-egvirt/recipes-qemu/qemu-vhost-user-devices/qemu-vhost-user-devices.bb b/meta-egvirt/recipes-qemu/qemu-vhost-user-devices/qemu-vhost-user-devices.bb index 032375c1..0ce3734b 100644 --- a/meta-egvirt/recipes-qemu/qemu-vhost-user-devices/qemu-vhost-user-devices.bb +++ b/meta-egvirt/recipes-qemu/qemu-vhost-user-devices/qemu-vhost-user-devices.bb @@ -23,20 +23,18 @@ export LIBTOOL="${HOST_SYS}-libtool" B = "${WORKDIR}/build" +do_configure[cleandirs] += "${B}" do_configure() { unset bindir libdir mandir datadir includedir libexecdir # Pass empty --cross-prefix to suspend errors due to build configurations # on different architectures. CC/CXX and other build variables are set by Yocto # itself correct. - ${S}/configure --cross-prefix= + ${S}/configure --disable-werror --cross-prefix= } -do_configure[cleandirs] += "${B}" do_install() { mkdir ${D}/usr/bin/ -p - install -m 0755 ${S}/../build/contrib/vhost-user-input/vhost-user-input ${D}/usr/bin/ - install -m 0755 ${S}/../build/contrib/vhost-user-blk/vhost-user-blk ${D}/usr/bin/ - install -m 0755 ${S}/../build/tools/vhost-user-rng/vhost-user-rng ${D}/usr/bin/ + install -m 0755 ${B}/contrib/vhost-user-blk/vhost-user-blk ${D}/usr/bin/ } FILES:${PN} += "/usr/bin" -- cgit 1.2.3-korg