summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDengke Du <dengke.du@windriver.com>2019-03-18 09:56:14 +0800
committerBruce Ashfield <bruce.ashfield@gmail.com>2019-03-20 14:42:42 -0400
commita1528f85a679b11b71e0b1da9df3363d21c0a48a (patch)
treefc49ab90df5e82cd938c3eced61b3bb91032c713
parent5fd37dbe1c0460362b70885241d04df8e3a47eaf (diff)
downloadmeta-virtualization-a1528f85a679b11b71e0b1da9df3363d21c0a48a.tar.gz
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 <dengke.du@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
-rw-r--r--recipes-extended/libvirt/libvirt_4.9.0.bb4
1 files changed, 1 insertions, 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"
197 197
198# enable,disable,depends,rdepends 198# enable,disable,depends,rdepends
199# 199#
200PACKAGECONFIG[qemu] = "--with-qemu,--without-qemu,qemu," 200PACKAGECONFIG[qemu] = "--with-qemu --with-qemu-user=qemu --with-qemu-group=qemu,--without-qemu,qemu,"
201PACKAGECONFIG[yajl] = "--with-yajl,--without-yajl,yajl,yajl" 201PACKAGECONFIG[yajl] = "--with-yajl,--without-yajl,yajl,yajl"
202PACKAGECONFIG[xenapi] = "--with-xenapi,--without-xenapi,," 202PACKAGECONFIG[xenapi] = "--with-xenapi,--without-xenapi,,"
203PACKAGECONFIG[libxl] = "--with-libxl=${STAGING_DIR_TARGET}/lib,--without-libxl,xen," 203PACKAGECONFIG[libxl] = "--with-libxl=${STAGING_DIR_TARGET}/lib,--without-libxl,xen,"
@@ -315,8 +315,6 @@ do_install_append() {
315EXTRA_OECONF += " \ 315EXTRA_OECONF += " \
316 --with-init-script=systemd \ 316 --with-init-script=systemd \
317 --with-test-suite \ 317 --with-test-suite \
318 --with-qemu-user=qemu \
319 --with-qemu-group=qemu \
320 " 318 "
321 319
322EXTRA_OEMAKE = "BUILD_DIR=${B} DEST_DIR=${D}${PTEST_PATH} PTEST_DIR=${PTEST_PATH} SYSTEMD_UNIT_DIR=${systemd_system_unitdir}" 320EXTRA_OEMAKE = "BUILD_DIR=${B} DEST_DIR=${D}${PTEST_PATH} PTEST_DIR=${PTEST_PATH} SYSTEMD_UNIT_DIR=${systemd_system_unitdir}"