Patchwork [v2] qemu: use PACKAGECONFIG to address libaio/attr/libcap dependencies

login
register
mail settings
Submitter Ting Liu
Date July 4, 2013, 1:59 a.m.
Message ID <1372903178-20708-1-git-send-email-b28495@freescale.com>
Download mbox | patch
Permalink /patch/52939/
State Accepted
Commit 8438bbe210de6f565f842d745ccede131fa385db
Headers show

Comments

Ting Liu - July 4, 2013, 1:59 a.m.
From: Ting Liu <b28495@freescale.com>

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>
---
 meta/recipes-devtools/qemu/qemu.inc |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

Patch

diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc
index 7caef6e..2d4a345 100644
--- a/meta/recipes-devtools/qemu/qemu.inc
+++ b/meta/recipes-devtools/qemu/qemu.inc
@@ -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"