[OE-core] meta-toolchain type SDK containing external toolchain possible?

Manuel Bessler manuel.bessler at gmail.com
Fri Jul 20 16:45:10 UTC 2012


Hi Mark,

On Thu, Jul 19, 2012 at 5:21 PM, Mark Hatle <mark.hatle at windriver.com> wrote:
> On 7/19/12 3:13 PM, Manuel Bessler wrote:
>> Is it possible to setup my toolchain such that it will be part of the
>> SDK package instead of the default {gcc,binutils}-cross-canadian?
>
>
> It is possible, but the external toolchain needs to be provided via a
> crosssdk/cross-canadian binary.  The external-csl-toolchain.bb can be used
> as a model for how to do this.

What do you mean by "via a crosssdk/cross-canadian binary"? Built by
bitbake using the *-cross-canadian recipes?



> For my stuff I did;
>
> PREFERRED_PROVIDER_binutils-cross-canadian-${TRANSLATED_TARGET_ARCH} =
> "external-csl-toolchain-cross-canadian-${TRANSLATED_TARGET_ARCH}"
>
> PREFERRED_PROVIDER_gcc-cross-canadian-${TRANSLATED_TARGET_ARCH} =
> "external-csl-toolchain-cross-canadian-${TRANSLATED_TARGET_ARCH}"
>
> PREFERRED_PROVIDER_gdb-cross-canadian-${TRANSLATED_TARGET_ARCH} =
> "external-csl-toolchain-cross-canadian-${TRANSLATED_TARGET_ARCH}"
>
>
>
>> That alone did not change anything.
>>
>> Then I tried adding the following to
>> recipes-core/meta/external-xxx-toolchain_4.5.3.bb in my layer:
>> PROVIDES += " gcc-cross-canadian-${TRANSLATED_TARGET_ARCH} "
>> PROVIDES += " binutils-cross-canadian-${TRANSLATED_TARGET_ARCH} "
>
>
> Within the external-cs-toolchain-cross-canadian.bb I had similar provides as
> well..

So you have a separate recipe to satisfy cross-canadian ? I tried
finding this file but had no luck...

Thanks,
Manuel




More information about the Openembedded-core mailing list