[OE-core] [PATCH 0/1] MIPS/MIPS32 tune -> MIPS
Mark Hatle
mark.hatle at windriver.com
Tue Apr 10 00:20:38 UTC 2012
On 4/9/12 7:14 PM, Andreas Oberritter wrote:
> On 10.04.2012 01:31, Mark Hatle wrote:
>> The following is in reference to the recent discussion about the mips32
>> -package- arch changing from mips to mips32. One of the potential options
>> was to get rid of the previous "mips" and replace it with the mips32
>> definition standard. This patch does just that.
>>
>> Working with Khem, we have moved the default "mips" (32-bit) tune to be
>> -march=mips32 based, and produce package with the package arch of "mips".
>>
>> The side effect of this work is that the prior 'mips' tune was actually
>> "mips1". I don't believe that was really desired by anyone, but it is a
>> change. Also there is no longer a "mips32" tune, just an include file
>> that automatically inherits and chooses the "mips" tune.
>
> There's no backwards compatibility, but I'm fine with the new options.
> The "mips" tune already gets selected by default in arch-mips.inc, so
> you can remove it from tune-mips32.inc. Actually I'd prefer removing
> tune-mips32.inc completely, so people will notice the
> backwards-incompatible change.
This is backwards compatible if someone was previously including the mips32
tune. It only "breaks" if someone was setting the default tune to "mips32" or
"mips32el" manually.
If that is a concern, then adding a:
TUNE_FEATURES_tune-mips32 = "${TUNE_FEATURES_tune-mips}"
MIPSPKGSFX_VARIANT_tune-mips32 = "${MIPSPKGSFX_VARIANT_tune-mips}"
PACKAGE_EXTRA_ARCHS_tune-mips32 = "${PACKAGE_EXTRA_ARCHS_tune-mips}"
(and the same for mips32el). That would ensure that they remain the same, and
that the package arch of "mips" can't deviate.
--Mark
> Regards,
> Andreas
More information about the Openembedded-core
mailing list