Skip to contentSkip to conversation

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

PATCH Superseded [email protected] 2 participants 3 messages Jul 3, 2013 – Jul 4, 2013

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

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

From: Ting Liu <[email protected]>

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.

---
 meta/recipes-devtools/qemu/qemu.inc |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
meta/recipes-devtools/qemu/qemu.inc +2 -0
index 7caef6e..8be3890 100644
@@ -84,6 +84,8 @@ do_install_append() {
 # END of qemu-mips workaround
 
 PACKAGECONFIG ??= ""
+PACKAGECONFIG[virtfs] = "--enable-virtfs --enable-attr,--disable-virtfs,libcap attr,"
+PACKAGECONFIG[libaio] = "--enable-linux-aio,--disable-linux-aio,libaio,"
 
 # Qemu target will not build in world build for ARM or Mips
 BROKEN_qemuarm = "1"
Signature · 1 line
1.7.3.4
#1 lore raw

Hi Ting,

Quoted 22 lines · On Wednesday 03 July 2013 17:45:10 [email protected] wrote:

From: Ting Liu <[email protected]>

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.

---
 meta/recipes-devtools/qemu/qemu.inc |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
(quoted diff) +0 -0

b/meta/recipes-devtools/qemu/qemu.inc index 7caef6e..8be3890 100644

meta/recipes-devtools/qemu/qemu.inc +2 -1
@@ -84,6 +84,8 @@ do_install_append() {
 # END of qemu-mips workaround
 
 PACKAGECONFIG ??= ""
+PACKAGECONFIG[virtfs] = "--enable-virtfs
--enable-attr,--disable-virtfs,libcap attr," 
+PACKAGECONFIG[libaio] =
Quoted 1 line

"--enable-linux-aio,--disable-linux-aio,libaio,"

The latter should be "aio" and not "libaio" (since "aio" is the feature being enabled/disabled).

Cheers,
Paul

Signature · 2 lines
Paul Eggleton
Intel Open Source Technology Centre
#2 lore raw

Hello Paul,

Quoted 28 lines

-----Original Message-----
From: Paul Eggleton [mailto:[email protected]]
Sent: Wednesday, July 03, 2013 9:38 PM
To: Liu Ting-B28495
Cc: [email protected]
Subject: Re: [OE-core] [oe-core][PATCH] qemu: use PACKAGECONFIG to address libaio/attr/libcap dependencies

Hi Ting,

Quoted 17 lines · On Wednesday 03 July 2013 17:45:10 [email protected] wrote:

From: Ting Liu <[email protected]>

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.

---
 meta/recipes-devtools/qemu/qemu.inc |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
(quoted diff) +0 -0

b/meta/recipes-devtools/qemu/qemu.inc index 7caef6e..8be3890 100644

meta/recipes-devtools/qemu/qemu.inc +0 -0
@@ -84,6 +84,8 @@ do_install_append() {  # END of qemu-mips workaround
 
Quoted 8 lines
Quoted 5 lines
meta/recipes-devtools/qemu/qemu.inc +2 -1
 PACKAGECONFIG ??= ""
+PACKAGECONFIG[virtfs] = "--enable-virtfs
--enable-attr,--disable-virtfs,libcap attr,"
+PACKAGECONFIG[libaio] =

"--enable-linux-aio,--disable-linux-aio,libaio,"

The latter should be "aio" and not "libaio" (since "aio" is the feature being enabled/disabled).

Good catch. Patch v2 sent out. Thanks.

-Ting

Quoted 8 lines

Cheers,
Paul

--

Paul Eggleton
Intel Open Source Technology Centre