All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Hatle <mark.hatle@windriver.com>
To: <openembedded-core@lists.openembedded.org>
Subject: Re: meta-toolchain type SDK containing external toolchain possible?
Date: Fri, 20 Jul 2012 11:55:21 -0600	[thread overview]
Message-ID: <50099B89.7060308@windriver.com> (raw)
In-Reply-To: <CAKSdS8LB0=8RieBGJSAyxyw9APPEksCKZ1WVz0EWwMZ49-SRow@mail.gmail.com>

On 7/20/12 10:45 AM, Manuel Bessler wrote:
> Hi Mark,
>
> On Thu, Jul 19, 2012 at 5:21 PM, Mark Hatle <mark.hatle@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?

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
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>





  reply	other threads:[~2012-07-20 18:06 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-19 21:13 meta-toolchain type SDK containing external toolchain possible? Manuel Bessler
2012-07-19 21:21 ` Mark Hatle
2012-07-20 16:45   ` Manuel Bessler
2012-07-20 17:55     ` Mark Hatle [this message]
2012-07-23 21:55       ` Manuel Bessler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=50099B89.7060308@windriver.com \
    --to=mark.hatle@windriver.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.