From 21b0af0319d3a7b2c766ecc185f34f922b38868e Mon Sep 17 00:00:00 2001 From: Diego Sueiro Date: Thu, 7 May 2020 12:08:24 +0100 Subject: [PATCH] arm-autonomy qemu: Don't build with audio support when Xen is present When xen is in DISTRO_FEATURES no audio support is needed. This will helps reducing the final image size. Change-Id: I50d83cfe007c3f30a8303dcad66abb188559713c Issue-Id: SCM-813 Signed-off-by: Diego Sueiro Reviewed-by: Bertrand Marquis Signed-off-by: Jon Mason --- meta-arm-autonomy/recipes-devtools/qemu/qemu_%.bbappend | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meta-arm-autonomy/recipes-devtools/qemu/qemu_%.bbappend b/meta-arm-autonomy/recipes-devtools/qemu/qemu_%.bbappend index b80c2934..ed63a4e9 100644 --- a/meta-arm-autonomy/recipes-devtools/qemu/qemu_%.bbappend +++ b/meta-arm-autonomy/recipes-devtools/qemu/qemu_%.bbappend @@ -4,7 +4,9 @@ OVERRIDES_append = "${@bb.utils.contains('DISTRO_FEATURES', 'xen', ':xen', '', d # For Xen we only need the i386 binaries QEMU_TARGETS_xen = "i386" -PACKAGECONFIG_append_xen = " virtfs" + +PACKAGECONFIG[noaudio] = "--audio-drv-list='',," +PACKAGECONFIG_append_xen = " virtfs noaudio" PACKAGECONFIG_remove_xen = "sdl" # Reduce the qemu package size by splitting it into