From a1528f85a679b11b71e0b1da9df3363d21c0a48a Mon Sep 17 00:00:00 2001 From: Dengke Du Date: Mon, 18 Mar 2019 09:56:14 +0800 Subject: [PATCH] libvirt: place the qemu configure option to PACKAGECONFIG If we build libvirt with mips64 arch will fail that was not compatible with, so place the qemu configure options to PACKAGECONFIG, let the PACKAGECONFIG control the build options. qemu is in the default PACKAGECONFIG, so we are not changing the build for non-mips architectures. Signed-off-by: Dengke Du Signed-off-by: Bruce Ashfield --- recipes-extended/libvirt/libvirt_4.9.0.bb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/recipes-extended/libvirt/libvirt_4.9.0.bb b/recipes-extended/libvirt/libvirt_4.9.0.bb index 17ac799e..813d95ec 100644 --- a/recipes-extended/libvirt/libvirt_4.9.0.bb +++ b/recipes-extended/libvirt/libvirt_4.9.0.bb @@ -197,7 +197,7 @@ PACKAGECONFIG_remove_mipsarchn64 = "qemu" # enable,disable,depends,rdepends # -PACKAGECONFIG[qemu] = "--with-qemu,--without-qemu,qemu," +PACKAGECONFIG[qemu] = "--with-qemu --with-qemu-user=qemu --with-qemu-group=qemu,--without-qemu,qemu," PACKAGECONFIG[yajl] = "--with-yajl,--without-yajl,yajl,yajl" PACKAGECONFIG[xenapi] = "--with-xenapi,--without-xenapi,," PACKAGECONFIG[libxl] = "--with-libxl=${STAGING_DIR_TARGET}/lib,--without-libxl,xen," @@ -315,8 +315,6 @@ do_install_append() { EXTRA_OECONF += " \ --with-init-script=systemd \ --with-test-suite \ - --with-qemu-user=qemu \ - --with-qemu-group=qemu \ " EXTRA_OEMAKE = "BUILD_DIR=${B} DEST_DIR=${D}${PTEST_PATH} PTEST_DIR=${PTEST_PATH} SYSTEMD_UNIT_DIR=${systemd_system_unitdir}"