]> code.ossystems Code Review - openembedded-core.git/commitdiff
qemu: use PACKAGECONFIG to address libaio/attr/libcap dependencies
authorTing Liu <b28495@freescale.com>
Thu, 4 Jul 2013 01:59:37 +0000 (09:59 +0800)
committerSaul Wold <sgw@linux.intel.com>
Tue, 9 Jul 2013 14:56:14 +0000 (07:56 -0700)
Move to using the PACKAGECONFIG mechanism to select configure options
and dependencies. Without this the system will attempt to discover
various dependencies, and sometimes does so incorrectly.

Signed-off-by: Ting Liu <b28495@freescale.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/recipes-devtools/qemu/qemu.inc

index 7caef6e9a3e72b06acfb7e731cea9c9b5c35e4f6..2d4a345bee2ec36e51e37e0b18a792c60ebc9f03 100644 (file)
@@ -84,6 +84,8 @@ do_install_append() {
 # END of qemu-mips workaround
 
 PACKAGECONFIG ??= ""
+PACKAGECONFIG[virtfs] = "--enable-virtfs --enable-attr,--disable-virtfs,libcap attr,"
+PACKAGECONFIG[aio] = "--enable-linux-aio,--disable-linux-aio,libaio,"
 
 # Qemu target will not build in world build for ARM or Mips
 BROKEN_qemuarm = "1"