On Sun, Mar 17, 2019 at 9:56 PM Dengke Du <[email protected]> wrote: > > 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.
It would have been worth mentioning that qemu is in the default packageconfig, hence the build isn't changed for most architectures. I added that to the config option and pushed the change. Bruce > > Signed-off-by: Dengke Du <[email protected]> > --- > 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 17ac799..813d95e 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}" > -- > 2.7.4 > > -- > _______________________________________________ > meta-virtualization mailing list > [email protected] > https://lists.yoctoproject.org/listinfo/meta-virtualization -- - Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end - "Use the force Harry" - Gandalf, Star Trek II -- _______________________________________________ meta-virtualization mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-virtualization
