[yocto] Using Pre Built Toolchain in Yocto Tree
Gary Thomas
gary at mlbassoc.com
Fri Mar 13 08:03:39 PDT 2015
On 2015-03-13 08:47, Mark Hatle wrote:
> On 3/13/15 6:43 AM, Darshan Patel wrote:
>> Is there a way to configure Yocto to use Pre Built toolchain (like downloaded
>> from CodeSourcery, etc.). I want to avoid building toolchain because it takes
>> too much time and using new toolchain is not of my concern.
>
> If you wish to use the Mentor Sourcery toolchain, they have a layer available
> that allows you to incorporate it.
>
> https://github.com/MentorEmbedded/meta-sourcery
>
> I have not used this layer in a while (and I don't work for Mentor), so if you
> have questions you may need to find someone who is more familiar with the layer.
>
>
> There is another alternative though. Build the toolchain once, store the
> sstate-cache files that were generated and use those on subsequent builds.
> There is a mechanism called the locked sstate-cache where you can feed into your
> configuration the hashes for the sstate-cache item you are interested in. This
> will tell the system to simply re-use the components, and ignore any system
> changes that may have occurred.
Could you elaborate on this (locked sstate-cache)? I don't see any
mention of it in the documentation.
>
> --Mark
>
>> I was using this feature in buildroot.
>>
>> Thanks in Advance!!!
>>
>> --
>> Regards
>> Darshan
>>
>>
>
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
More information about the yocto
mailing list