Patchwork [meta-fsl-ppc] flib:Fix flib not found in the base feeds error

login
register
mail settings
Submitter Zongchun Yu
Date July 4, 2013, 9:42 a.m.
Message ID <1372930972-5736-1-git-send-email-b40527@freescale.com>
Download mbox | patch
Permalink /patch/52957/
State Accepted
Delegated to: Zhenhua Luo
Headers show

Comments

Zongchun Yu - July 4, 2013, 9:42 a.m.
From: Zongchun Yu <Zongchun.Yu@freescale.com>

To avoid error caused by empty package when build flib into rootfs.
add ALLOW_EMPTY

Signed-off-by: Zongchun Yu <Zongchun.Yu@freescale.com>
---
 recipes-tools/flib/flib_git.bb |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
Otavio Salvador - July 4, 2013, 9:33 p.m.
On Thu, Jul 4, 2013 at 6:42 AM,  <b40527@freescale.com> wrote:
> From: Zongchun Yu <Zongchun.Yu@freescale.com>
>
> To avoid error caused by empty package when build flib into rootfs.
> add ALLOW_EMPTY
>
> Signed-off-by: Zongchun Yu <Zongchun.Yu@freescale.com>

Why PN gets empty?

--
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://projetos.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750
Zongchun Yu - July 5, 2013, 2:06 a.m.
>Why PN gets empty?
Flib only install headers, all the headers are included in ${PN}-dev instead
of ${PN},
So the PN gets empty.
Otavio Salvador - July 5, 2013, 12:19 p.m.
On Thu, Jul 4, 2013 at 11:06 PM, Zongchun YU <b40527@freescale.com> wrote:
>>Why PN gets empty?
> Flib only install headers, all the headers are included in ${PN}-dev instead
> of ${PN},
> So the PN gets empty.

Agreed; so I am fine with the patch.

--
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://projetos.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750
Zhenhua Luo - July 8, 2013, 1:55 a.m.
Applied, thanks. 


Best Regards,

Zhenhua

> -----Original Message-----
> From: meta-freescale-bounces@yoctoproject.org [mailto:meta-freescale-
> bounces@yoctoproject.org] On Behalf Of Otavio Salvador
> Sent: Friday, July 05, 2013 8:19 PM
> To: Yu Zongchun-B40527
> Cc: meta-freescale@yoctoproject.org; Yu Zongchun-B40527
> Subject: Re: [meta-freescale] [PATCH] [meta-fsl-ppc] flib:Fix flib not
> found in the base feeds error
> 
> On Thu, Jul 4, 2013 at 11:06 PM, Zongchun YU <b40527@freescale.com> wrote:
> >>Why PN gets empty?
> > Flib only install headers, all the headers are included in ${PN}-dev
> > instead of ${PN}, So the PN gets empty.
> 
> Agreed; so I am fine with the patch.
> 
> --
> Otavio Salvador                             O.S. Systems
> http://www.ossystems.com.br        http://projetos.ossystems.com.br
> Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750
> _______________________________________________
> meta-freescale mailing list
> meta-freescale@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale

Patch

diff --git a/recipes-tools/flib/flib_git.bb b/recipes-tools/flib/flib_git.bb
index 590f724..fb3f698 100644
--- a/recipes-tools/flib/flib_git.bb
+++ b/recipes-tools/flib/flib_git.bb
@@ -11,3 +11,5 @@  S = "${WORKDIR}/git"
 do_install(){
     oe_runmake install DESTDIR=${D}
 }
+
+ALLOW_EMPTY_${PN} = "1"