[meta-freescale] bitbake and SDK toolchain Libs

Otavio Salvador otavio at ossystems.com.br
Thu Nov 7 12:52:13 PST 2013


Hello Alberto,

On Wed, Nov 6, 2013 at 5:57 AM, Alberto Liberal de los Rios
<aliberal at arroweurope.com> wrote:
> I am working with the IMX6 Sabre board and i have some doubts about Yocto
> toolchain and sysroot management. When i run bitbake to compile an
> application where yocto takes the libs that can be needed by the
> application?. Is there a location where i can check the sysroot used by
> bitbake?

This is at tmp/sysroot/<machine>.

> Is the sysroot used by bitbake the same that is used with the toolchain
> installed with bitbake meta-toolchain?

No, it is not.

The goal is the same but there are some differences.

The target packages are taken as is but the native part of it uses a
'nativesdk' package variant. Also it produces a clever script which
takes care of allow the generated toolchain to be relocable and like.

> There is also a temporary dir in build/tmp/sysroots with shared header files
> and libraries. This should be the place where Yocto build looks for headers,
> libraries. Is this the same place where SDK toolchain looks for libs and
> headers?

Read above.

> I have a mess with this subject. I would be really grateful if you could
> clarify it to me

I hope it makes easier to understand.

We gave a traning some weeks ago and made the slides available online.
It may be useful.

Check it at: http://www.slideshare.net/OtavioSalvador/yocto-training-in-english

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750



More information about the meta-freescale mailing list