[yocto] How to include static library and headers in sdk
Matt Schuckmann
Matt.Schuckmann at planar.com
Mon Sep 22 21:31:54 PDT 2014
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, Joseph Andrew de la Peña <jdelapena at lexmark.com<mailto:jdelapena at lexmark.com>> wrote:
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 <Matt.Schuckmann at planar.com<mailto:Matt.Schuckmann at planar.com>> 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.
When I build my image (i.e. bitbake custom-image ) I can see that the library header files and .a files are placed in the correct place in the sysroot directory.
However when I try to create an sdk (i.e. bitbake custom-image -c populate_sdk) and then install the SDK the headers and .a files are nowhere to be found in the installed sysroot.
What am I missing?
Thanks,
Matt S.
--
_______________________________________________
yocto mailing list
yocto at yoctoproject.org<mailto:yocto at yoctoproject.org>
https://lists.yoctoproject.org/listinfo/yocto
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20140922/9ecde062/attachment.html>
More information about the yocto
mailing list