[OE-core] WARNING - PACKAGE_EXTRA_ARCHS change of behaviour

Richard Purdie richard.purdie at linuxfoundation.org
Mon Mar 21 17:34:47 UTC 2011


On Tue, 2011-03-15 at 20:31 +0000, Richard Purdie wrote:
> There is a problem with the current PACKAGE_EXTRA_ARCHS implementation
> since its impossible to control which extra architectures sort higher
> than TARGET_ARCH and which sort lower. In the x86 case for example,
> TARGET_ARCH might be "i586", i486 should be lower than this and i686 should
> be higher. There are also complications where its easy to inject duplicate
> entries into the variable.
>     
> I tried various versions of this patch and concluded that it was simplest
> just to force the tune files to include TARGET_ARCH in the list in the
> right place if they're planning to customise it themselves. Other approaches
> with appends and prepends just complicated the code for no good reason.
>     
> The TARGET_ARCH definitions should also move to the tune files but I'll
> leave this for a separate patch.
>     
> Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

Since there were no objections to this (and I chatted to some people
over jabber about it too), I'm going to merge this.

Cheers,

Richard





More information about the Openembedded-core mailing list