Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] qemu: use PACKAGECONFIG to address libaio/attr/libcap dependencies
@ 2013-07-03  9:45 b28495
  2013-07-03 13:37 ` Paul Eggleton
  0 siblings, 1 reply; 3+ messages in thread
From: b28495 @ 2013-07-03  9:45 UTC (permalink / raw)
  To: openembedded-core

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(-)

diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc
index 7caef6e..8be3890 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[libaio] = "--enable-linux-aio,--disable-linux-aio,libaio,"
 
 # Qemu target will not build in world build for ARM or Mips
 BROKEN_qemuarm = "1"
-- 
1.7.3.4




^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] qemu: use PACKAGECONFIG to address libaio/attr/libcap dependencies
  2013-07-03  9:45 [PATCH] qemu: use PACKAGECONFIG to address libaio/attr/libcap dependencies b28495
@ 2013-07-03 13:37 ` Paul Eggleton
  2013-07-04  2:01   ` Liu Ting-B28495
  0 siblings, 1 reply; 3+ messages in thread
From: Paul Eggleton @ 2013-07-03 13:37 UTC (permalink / raw)
  To: b28495; +Cc: openembedded-core

Hi Ting,

On Wednesday 03 July 2013 17:45:10 b28495@freescale.com wrote:
> 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(-)
> 
> diff --git a/meta/recipes-devtools/qemu/qemu.inc
> b/meta/recipes-devtools/qemu/qemu.inc index 7caef6e..8be3890 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[libaio] =
> "--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

-- 

Paul Eggleton
Intel Open Source Technology Centre


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] qemu: use PACKAGECONFIG to address libaio/attr/libcap dependencies
  2013-07-03 13:37 ` Paul Eggleton
@ 2013-07-04  2:01   ` Liu Ting-B28495
  0 siblings, 0 replies; 3+ messages in thread
From: Liu Ting-B28495 @ 2013-07-04  2:01 UTC (permalink / raw)
  To: Paul Eggleton; +Cc: openembedded-core@lists.openembedded.org

Hello Paul,

> -----Original Message-----
> From: Paul Eggleton [mailto:paul.eggleton@linux.intel.com]
> Sent: Wednesday, July 03, 2013 9:38 PM
> To: Liu Ting-B28495
> Cc: openembedded-core@lists.openembedded.org
> Subject: Re: [OE-core] [oe-core][PATCH] qemu: use PACKAGECONFIG to
> address libaio/attr/libcap dependencies
> 
> Hi Ting,
> 
> On Wednesday 03 July 2013 17:45:10 b28495@freescale.com wrote:
> > 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(-)
> >
> > diff --git a/meta/recipes-devtools/qemu/qemu.inc
> > b/meta/recipes-devtools/qemu/qemu.inc index 7caef6e..8be3890 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[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

> 
> Cheers,
> Paul
> 
> --
> 
> Paul Eggleton
> Intel Open Source Technology Centre




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-07-04  2:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-03  9:45 [PATCH] qemu: use PACKAGECONFIG to address libaio/attr/libcap dependencies b28495
2013-07-03 13:37 ` Paul Eggleton
2013-07-04  2:01   ` Liu Ting-B28495

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox