On 7/20/12 10:45 AM, Manuel Bessler wrote:
Hi Mark,
On Thu, Jul 19, 2012 at 5:21 PM, Mark Hatle <[email protected]> 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?
You need to create a crosssdk/cross-canadian recipe that copies the binary
toolchain into the right SDK location(s). Using external-csl-toolchain (or
similar) as a guide.
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...
Yes, I have external-cs-toolchain.bb, and
external-cs-toolchain-cross-canadian.bb, which is based on the former.
(most of it is generic, so a single ".inc" version used by both should be
possible as well..)
--Mark
Thanks,
Manuel
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core