[yocto] How to include a own libary into the toolchain(SDK) for an embeeded Linux generated by Yocto?

S.Jaritz at esa-grimma.de S.Jaritz at esa-grimma.de
Tue May 31 08:03:10 PDT 2016


Hej,

I am looking for an example where is shown how to include an own library 
into the toolchain.

Let's call the library "myLib". For it I created an recipe "myLib.bb" and 
added:

    BBCLASSEXTEND = "native nativesdk"

In my "local.conf" I added:

    IMAGE_INSTALL_append = " myLib"

When building the SDK by:

    $ bitbake myTarget -c populate_sdk

It produces a installer for the SDK and two manifest files. "myLib" is 
only included at the target manifest and not on the host. How can I 
include myLib on the host system?

The idea is, that a other person can build software on his system without 
the Yocto system. Only by using the toolchain he can generate binaries, 
which can be transferred and executed at the evalboard.


Regards!

PS: I put the question on stackoverflow: 
http://stackoverflow.com/questions/37548851/how-to-include-a-own-libary-into-the-toolchainsdk-for-an-embeeded-linux-genera


------------------------------------------------------------
ESA Elektroschaltanlagen Grimma GmbH
Broner Ring 30
04668 Grimma
Telefon: +49 3437 9211 176
Telefax: +49 3437 9211 26
E-Mail: s.jaritz at esa-grimma.de
Internet: www.esa-grimma.de


Geschäftsführer:
Dipl.-Ing. Jörg Gaitzsch
Jörg Reinker

Sitz der Gesellschaft: Grimma
Ust.-ID: DE 141784437
Amtsgericht: Leipzig, HRB 5159
Steuernummer: 238/108/00755


Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte 
Informationen. 
Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich 
erhalten 
haben, informieren Sie bitte sofort den Absender und löschen Sie diese 
Nachricht. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser 
Mail 
ist nicht gestattet.

This e-mail may contain confidential and/or privileged information. If you 
are 
not the intended recipient (or have received this e-mail in error) please 
notify the sender immediately and destroy this e-mail. Any unauthorized 
copying, disclosure or distribution of the material in this e-mail is 
strictly 
forbidden.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160531/cd34430c/attachment.html>


More information about the yocto mailing list