[OE-core] [PATCH v2] Introduce multiarch DISTRO_FEATURE

Julian Pidancet julian.pidancet at gmail.com
Thu Nov 24 12:44:03 UTC 2011


>> +def get_gcc_multiarch_setting(bb, d):
>> +    if 'multiarch' in bb.data.getVar('DISTRO_FEATURES',d,1).split() :
>> +        if bb.data.getVar('TARGET_ARCH', d, 1) in [ 'i586', 'i686' ] :
>> +            return "--enable-targets=all"
>> +        if bb.data.getVar('TARGET_ARCH', d, 1) in [ 'powerpc' ] :
>> +            return "--enable-targets=powerpc64"
>> +        if bb.data.getVar('TARGET_ARCH', d, 1) in [ 'sparc' ] :
>> +            return "--enable-targets=all"
>> +    return ""
>
>
> you forgot mips here
>

mips and s390 are not yet supported in the gcc version that OE is using.

-- 
Julian




More information about the Openembedded-core mailing list