diff options
author | Timos Ampelikiotis <t.ampelikiotis@virtualopensystems.com> | 2024-10-03 11:32:56 +0300 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2024-11-04 09:47:30 +0000 |
commit | 21f0a37d12501c4686bbde5a9e1693fbadfa5647 (patch) | |
tree | a2cfce3a43657ef5281e23084427f7f12e8fe5f4 /meta-egvirt/recipes-qemu/qemu-vhost-user-devices | |
parent | dd48c93dc7ca4e37156413652ba716d008c2edcd (diff) |
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 <t.ampelikiotis@virtualopensystems.com>
Diffstat (limited to 'meta-egvirt/recipes-qemu/qemu-vhost-user-devices')
-rw-r--r-- | meta-egvirt/recipes-qemu/qemu-vhost-user-devices/qemu-vhost-user-devices.bb | 8 |
1 files 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" |