All of lore.kernel.org
 help / color / mirror / Atom feed
* TARGET_ARCH in external toolchain
@ 2014-06-05 11:02 Marek Andrus
  2014-06-05 12:06 ` Marek Andrus
  0 siblings, 1 reply; 2+ messages in thread
From: Marek Andrus @ 2014-06-05 11:02 UTC (permalink / raw)
  To: yocto

Hi,

I'd like to provide one meta for a 4 external toolchains (for 4 
different architectures). I wanted it to select appropriate toolchain 
accroding to a TARGET_ARCH variable. Unfortunately TARGET_ARCH looks 
like not being set at the time of parsing my tcmode-external-mytc.inc 
file (where preffered providers are set). Of course OVERRIDES variable 
is not set either.

What do you recommend?

Of course I can change the toolchain layer manually but I wanted to 
change machine/architecture in just one place. Is there any method?

BR,
Marek Andrus


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: TARGET_ARCH in external toolchain
  2014-06-05 11:02 TARGET_ARCH in external toolchain Marek Andrus
@ 2014-06-05 12:06 ` Marek Andrus
  0 siblings, 0 replies; 2+ messages in thread
From: Marek Andrus @ 2014-06-05 12:06 UTC (permalink / raw)
  To: yocto

I've found a problem. TARGET_ARCH in fact isn't set but I can still use 
conditional syntax. The problem was I was trying with ppc architecture 
(TARGET_ARCH is later set to ppc) but here I had to use "powerpc" instead.

BR,
Marek Andrus


On 05.06.2014 13:02, Marek Andrus wrote:
> Hi,
>
> I'd like to provide one meta for a 4 external toolchains (for 4 
> different architectures). I wanted it to select appropriate toolchain 
> accroding to a TARGET_ARCH variable. Unfortunately TARGET_ARCH looks 
> like not being set at the time of parsing my tcmode-external-mytc.inc 
> file (where preffered providers are set). Of course OVERRIDES variable 
> is not set either.
>
> What do you recommend?
>
> Of course I can change the toolchain layer manually but I wanted to 
> change machine/architecture in just one place. Is there any method?
>
> BR,
> Marek Andrus



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-06-05 12:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-05 11:02 TARGET_ARCH in external toolchain Marek Andrus
2014-06-05 12:06 ` Marek Andrus

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.