Patchwork [meta-fsl-ppc] qemu: use PACKAGECONFIG to address libaio/attr/libcap dependencies

login
register
mail settings
Submitter Ting Liu
Date July 3, 2013, 9:01 a.m.
Message ID <1372842102-14192-1-git-send-email-b28495@freescale.com>
Download mbox | patch
Permalink /patch/52867/
State Rejected
Headers show

Comments

Ting Liu - July 3, 2013, 9:01 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.

Also remove LIC_FILES_CHKSUM setting which is the same with line in
included recipes-devtools/qemu/qemu.inc.

Signed-off-by: Ting Liu <b28495@freescale.com>
---
 recipes-devtools/qemu/qemu_fslgit.bb |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
Zhenhua Luo - July 3, 2013, 9:15 a.m.
Ting, 

This is not a BSP specific issue, I suggest to submit the patch against oe-core. 


Best Regards,

Zhenhua


> -----Original Message-----
> From: Liu Ting-B28495
> Sent: Wednesday, July 03, 2013 5:02 PM
> To: meta-freescale@yoctoproject.org
> Cc: Luo Zhenhua-B19537; Liu Ting-B28495
> Subject: [meta-fsl-ppc][PATCH] qemu: use PACKAGECONFIG to address
> libaio/attr/libcap dependencies
> 
> 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.
> 
> Also remove LIC_FILES_CHKSUM setting which is the same with line in
> included recipes-devtools/qemu/qemu.inc.
> 
> Signed-off-by: Ting Liu <b28495@freescale.com>
> ---
>  recipes-devtools/qemu/qemu_fslgit.bb |    6 +++---
>  1 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/recipes-devtools/qemu/qemu_fslgit.bb b/recipes-
> devtools/qemu/qemu_fslgit.bb
> index d0f546e..1422b71 100644
> --- a/recipes-devtools/qemu/qemu_fslgit.bb
> +++ b/recipes-devtools/qemu/qemu_fslgit.bb
> @@ -1,8 +1,5 @@
>  require recipes-devtools/qemu/qemu.inc
> 
> -LIC_FILES_CHKSUM = "file://COPYING;md5=441c28d2cf86e15a37fa47e15a72fbac
> \
> -
> file://COPYING.LIB;endline=24;md5=c04def7ae38850e7d3ef548588159913"
> -
>  # This means v1.4 with FSL specific patches applied  PV = "1.4+fsl"
> 
> @@ -11,6 +8,9 @@ SRCREV = "8713c58725df407dbbedb48fa315248d0100720c"
> 
>  S = "${WORKDIR}/git"
> 
> +PACKAGECONFIG[virtfs] = "--enable-virtfs --enable-attr,--disable-
> virtfs,libcap attr,"
> +PACKAGECONFIG[libaio] = "--enable-linux-aio,--disable-linux-aio,libaio,"
> +
>  QEMU_TARGETS = "ppc"
>  PPC_OECONF = '${SDL} --cross-prefix=${TARGET_PREFIX} --disable-werror --
> disable-vnc --audio-drv-list="" --audio-card-list="" --disable-bluez --
> disable-curl'
>  EXTRA_OECONF_e5500-64b = "--target-list=ppc64-softmmu ${PPC_OECONF}"
> --
> 1.7.3.4
Ting Liu - July 3, 2013, 9:47 a.m.
> -----Original Message-----
> From: Luo Zhenhua-B19537
> Sent: Wednesday, July 03, 2013 5:16 PM
> To: Liu Ting-B28495
> Cc: meta-freescale@yoctoproject.org
> Subject: RE: [meta-fsl-ppc][PATCH] qemu: use PACKAGECONFIG to address
> libaio/attr/libcap dependencies
> 
> Ting,
> 
> This is not a BSP specific issue, I suggest to submit the patch against
> oe-core.
> 

Sent a new patch to oe-core.

> 
> Best Regards,
> 
> Zhenhua
> 
> 
> > -----Original Message-----
> > From: Liu Ting-B28495
> > Sent: Wednesday, July 03, 2013 5:02 PM
> > To: meta-freescale@yoctoproject.org
> > Cc: Luo Zhenhua-B19537; Liu Ting-B28495
> > Subject: [meta-fsl-ppc][PATCH] qemu: use PACKAGECONFIG to address
> > libaio/attr/libcap dependencies
> >
> > 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.
> >
> > Also remove LIC_FILES_CHKSUM setting which is the same with line in
> > included recipes-devtools/qemu/qemu.inc.
> >
> > Signed-off-by: Ting Liu <b28495@freescale.com>
> > ---
> >  recipes-devtools/qemu/qemu_fslgit.bb |    6 +++---
> >  1 files changed, 3 insertions(+), 3 deletions(-)
> >
> > diff --git a/recipes-devtools/qemu/qemu_fslgit.bb b/recipes-
> > devtools/qemu/qemu_fslgit.bb index d0f546e..1422b71 100644
> > --- a/recipes-devtools/qemu/qemu_fslgit.bb
> > +++ b/recipes-devtools/qemu/qemu_fslgit.bb
> > @@ -1,8 +1,5 @@
> >  require recipes-devtools/qemu/qemu.inc
> >
> > -LIC_FILES_CHKSUM =
> > "file://COPYING;md5=441c28d2cf86e15a37fa47e15a72fbac
> > \
> > -
> > file://COPYING.LIB;endline=24;md5=c04def7ae38850e7d3ef548588159913"
> > -
> >  # This means v1.4 with FSL specific patches applied  PV = "1.4+fsl"
> >
> > @@ -11,6 +8,9 @@ SRCREV = "8713c58725df407dbbedb48fa315248d0100720c"
> >
> >  S = "${WORKDIR}/git"
> >
> > +PACKAGECONFIG[virtfs] = "--enable-virtfs --enable-attr,--disable-
> > virtfs,libcap attr,"
> > +PACKAGECONFIG[libaio] = "--enable-linux-aio,--disable-linux-
> aio,libaio,"
> > +
> >  QEMU_TARGETS = "ppc"
> >  PPC_OECONF = '${SDL} --cross-prefix=${TARGET_PREFIX} --disable-werror
> > -- disable-vnc --audio-drv-list="" --audio-card-list=""
> > --disable-bluez -- disable-curl'
> >  EXTRA_OECONF_e5500-64b = "--target-list=ppc64-softmmu ${PPC_OECONF}"
> > --
> > 1.7.3.4

Patch

diff --git a/recipes-devtools/qemu/qemu_fslgit.bb b/recipes-devtools/qemu/qemu_fslgit.bb
index d0f546e..1422b71 100644
--- a/recipes-devtools/qemu/qemu_fslgit.bb
+++ b/recipes-devtools/qemu/qemu_fslgit.bb
@@ -1,8 +1,5 @@ 
 require recipes-devtools/qemu/qemu.inc
 
-LIC_FILES_CHKSUM = "file://COPYING;md5=441c28d2cf86e15a37fa47e15a72fbac \
-                    file://COPYING.LIB;endline=24;md5=c04def7ae38850e7d3ef548588159913"
-
 # This means v1.4 with FSL specific patches applied
 PV = "1.4+fsl"
 
@@ -11,6 +8,9 @@  SRCREV = "8713c58725df407dbbedb48fa315248d0100720c"
 
 S = "${WORKDIR}/git"
 
+PACKAGECONFIG[virtfs] = "--enable-virtfs --enable-attr,--disable-virtfs,libcap attr,"
+PACKAGECONFIG[libaio] = "--enable-linux-aio,--disable-linux-aio,libaio,"
+
 QEMU_TARGETS = "ppc"
 PPC_OECONF = '${SDL} --cross-prefix=${TARGET_PREFIX} --disable-werror --disable-vnc --audio-drv-list="" --audio-card-list="" --disable-bluez --disable-curl'
 EXTRA_OECONF_e5500-64b = "--target-list=ppc64-softmmu ${PPC_OECONF}"