qemu: use PACKAGECONFIG to address libaio/attr/libcap dependencies

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.

(From OE-Core rev: 8438bbe210de6f565f842d745ccede131fa385db)

Signed-off-by: Ting Liu <b28495@freescale.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Ting Liu 2013-07-04 09:59:37 +08:00 committed by Richard Purdie
parent 3f9224ca57
commit 6e08d01e54
1 changed files with 2 additions and 0 deletions

View 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"