[oe] [PATCH] sane-toolchain-eglibc.inc: Set TARGET_OS = linux-gnuspe for e500

Khem Raj raj.khem at gmail.com
Sun Aug 30 01:22:44 UTC 2009


On (29/08/09 00:50), Khem Raj wrote:
> On Fri, Aug 28, 2009 at 7:02 PM, Tom Rini<trini at embeddedalley.com> wrote:
> > On Fri, Aug 28, 2009 at 05:00:44PM -0700, Khem Raj wrote:
> >
> >> Target triplet powerpc-*-linux-gnuspe is chosen for machines with SPE
> >> which is e500 cores.
> >
> > Two things.  First, doesn't that override the previous TARGET_OS?  Or
> > did I miss some magic in there to use the previous result?
> 
> hmm yes it wil if it is linux-gnueabi then the second assignment will
> reset it to linux
> 
> Discard it.  I think we need something better

We can override only for powerpc second time around. So changing it to 

TARGET_OS_powerpc =
"linux${@['','-gnuspe'][bb.data.getVar('TARGET_ARCH',d,1) in ['ppc',
'powerpc'] and bb.data.getVar('MACHINE',d) in ['calamari', 'tqm8540']]}"

will that be ok ?

Thanks

-Khem




More information about the Openembedded-devel mailing list