[oe] [PATCH 0/7] Make multi-machine toolchains to co-exist (revised)

Phil Blundell philb at gnu.org
Tue Jul 27 07:34:57 UTC 2010


On Mon, 2010-07-26 at 15:58 -0700, Tom Rini wrote:
> Khem Raj wrote:
> > Hi
> > 
> > Following series of patches are for making multi-machine toolchains co-exist with
> > new cross staging for toolchain.
> > 
> > It changes the toolchain triplet from ${TARGET_ARCH}-${VENDOR}-${OS} to 
> > ${TARGET_ARCH}-${CPU_SUB_TARGET}_${VENDOR}-OS
> > 
> > which means that a toolchain for armv7 is called armi-v7a_oe-linux-gnueabi-*
> > and for armv5te its called arm-v5te_oe-linux-gnueabi-*
> 
> Sorry to come in late here, but why can't we instead populate 
> sysroot/../usr/bin/${MACHINE_SYS}/ and keep the old toolchain triplet?

Agreed, that sounds better to me.  Or, as I mentioned to Khem on IRC,
leave the actual configuration triplet alone but set a custom
program-prefix for gcc (i.e. one that involves MACHINE_SYS) and adjust
${CC} to match it.  I am definitely not very fond of abusing the vendor
field for this purpose.

p.






More information about the Openembedded-devel mailing list