Re: [yocto] How to include static library and headers in sdk

2014-10-14 Thread Paul Eggleton
On Tuesday 23 September 2014 11:38:35 Matt Schuckmann wrote: > Paul Eggleton wrote: > > So the way our system works, we assume that a recipe will have a main > > package and in the case of a library that that will contain the actual > > library file; the dev package just contains headers and the no

Re: [yocto] How to include static library and headers in sdk

2014-09-23 Thread Matt Schuckmann
> -Original Message- > From: Paul Eggleton [mailto:paul.eggle...@linux.intel.com] > Sent: Tuesday, September 23, 2014 11:12 AM > To: Matt Schuckmann > Cc: yocto@yoctoproject.org > Subject: Re: [yocto] How to include static library and headers in sdk > > On Tues

Re: [yocto] How to include static library and headers in sdk

2014-09-23 Thread Paul Eggleton
t: Tuesday, September 23, 2014 9:54 AM > > > > To: Matt Schuckmann > > > > Cc: yocto@yoctoproject.org > > > > Subject: Re: [yocto] How to include static library and headers in > > > > sdk > > > > > > > > On Tuesday 23

Re: [yocto] How to include static library and headers in sdk

2014-09-23 Thread Matt Schuckmann
> -Original Message- > From: Paul Eggleton [mailto:paul.eggle...@linux.intel.com] > Sent: Tuesday, September 23, 2014 10:26 AM > To: Matt Schuckmann > Cc: yocto@yoctoproject.org > Subject: Re: [yocto] How to include static library and headers in sdk > > On Tues

Re: [yocto] How to include static library and headers in sdk

2014-09-23 Thread Paul Eggleton
t: Tuesday, September 23, 2014 2:10 AM > > > > To: Matt Schuckmann > > > > Cc: yocto@yoctoproject.org > > > > Subject: Re: [yocto] How to include static library and headers in > > > > sdk > > > > > > > > On Monday 22 September

Re: [yocto] How to include static library and headers in sdk

2014-09-23 Thread Matt Schuckmann
> -Original Message- > From: Paul Eggleton [mailto:paul.eggle...@linux.intel.com] > Sent: Tuesday, September 23, 2014 9:54 AM > To: Matt Schuckmann > Cc: yocto@yoctoproject.org > Subject: Re: [yocto] How to include static library and headers in sdk > > On Tuesday

Re: [yocto] How to include static library and headers in sdk

2014-09-23 Thread Paul Eggleton
Subject: Re: [yocto] How to include static library and headers in sdk > > > > On Monday 22 September 2014 18:57:03 Matt Schuckmann wrote: > > > I've got a custom image and 2 custom recipes both very simple > > > libraries that use cmake. I included the

Re: [yocto] How to include static library and headers in sdk

2014-09-23 Thread Matt Schuckmann
> -Original Message- > From: Paul Eggleton [mailto:paul.eggle...@linux.intel.com] > Sent: Tuesday, September 23, 2014 2:10 AM > To: Matt Schuckmann > Cc: yocto@yoctoproject.org > Subject: Re: [yocto] How to include static library and headers in sdk > > On Monday

Re: [yocto] How to include static library and headers in sdk

2014-09-23 Thread Paul Eggleton
On Monday 22 September 2014 18:57:03 Matt Schuckmann wrote: > I've got a custom image and 2 custom recipes both very simple libraries that > use cmake. I included the libraries into my image by adding > EXTRA_IMAGEDEPENDS += "simple1" > EXTRA_IMAGEDEPENDS += "simple2" > To my image recipe. Except

Re: [yocto] How to include static library and headers in sdk

2014-09-22 Thread Joseph Andrew de la Peña
Good day Matt, A simple example is publishing libxml-parser-perl in meta/recipes-core/libxml/libxml2 into SDK. 1. Make sure libxml-parser.perl has a nativesdk for BBCLASSEXTEND in its recipe. 2. Add nativesdk-libxml-parser-perl in RDEPENDS for nativesdk-packagegroup-sdk-host 3. Then -c populate_s

Re: [yocto] How to include static library and headers in sdk

2014-09-22 Thread Matt Schuckmann
Thanks for the response but I'm not sure that I understand. Where does this stuff go? In a Packagegroup file. I tried adding simple1-staticdev to IMAGE_INSTALL and I get an error that it doesn't exist. Can you point me at an example? Matt S. Sent from my pocket On Sep 22, 2014, at 7:52 PM, Jos

Re: [yocto] How to include static library and headers in sdk

2014-09-22 Thread Joseph Andrew de la Peña
Good day Matt, You need to explicitly RDEPENDS your-unit-staticdev and your-unit in your image's packagegroup. Assuming, your FILES_${PN}-staticdev is your .a and FILES_${PN} contains your headers. Thanks, Joseph On Tue, Sep 23, 2014 at 9:57 AM, Matt Schuckmann wrote: > I've got a custom image

[yocto] How to include static library and headers in sdk

2014-09-22 Thread Matt Schuckmann
I've got a custom image and 2 custom recipes both very simple libraries that use cmake. I included the libraries into my image by adding EXTRA_IMAGEDEPENDS += "simple1" EXTRA_IMAGEDEPENDS += "simple2" To my image recipe. When I build my image (i.e. bitbake custom-image ) I can see that the li