qemu: Fix libvhost-user to use hyphen instead of underscore

hyphen is common delimiter in package config

Signed-off-by: Zelan Zou <zelan.zou@nxp.com>
This commit is contained in:
Zelan Zou 2025-07-24 21:34:53 +08:00
parent d3784097c3
commit 7968eb2783
2 changed files with 2 additions and 2 deletions

View File

@ -297,7 +297,7 @@ S = "${UNPACKDIR}/git"
# this configure option need to remove as invoke meson subprojects download
# EXTRA_OECONF:remove = "--disable-download"
PACKAGECONFIG[libvhost_user] = "-Dlibvhost-user:xen=enabled,-Dlibvhost-user:xen=disabled,xen-tools"
PACKAGECONFIG[libvhost-user] = "-Dlibvhost-user:xen=enabled,-Dlibvhost-user:xen=disabled,xen-tools"
do_configure:prepend() {
cp ${S}/subprojects/packagefiles/berkeley-softfloat-3/* ${S}/subprojects/berkeley-softfloat-3/

View File

@ -29,7 +29,7 @@ COMPATIBLE_HOST:powerpc = "null"
#----------------------overrides ---------------------
# audio backend confiure
PACKAGECONFIG:append = " pipewire aio vhost libusb \
${@bb.utils.contains('DISTRO_FEATURES', 'xen', 'libvhost_user', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'xen', 'libvhost-user', '', d)} \
"
CFLAGS += " -Wno-error=implicit-function-declaration -Wno-error=int-conversion"