]> code.ossystems Code Review - openembedded-core.git/commit
bitbake.conf/tune files: Adjust PACKAGE_EXTEA_ARCHS
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 15 Mar 2011 20:11:17 +0000 (20:11 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 21 Mar 2011 17:40:21 +0000 (17:40 +0000)
commitd492ebf8b1801da99c679f465be98ce54fd3061a
tree05de172c2707009e3a2ef5cb032f5cd66e9efac7
parenta9d41062e24a6b99661b3a5256f369b557433607
bitbake.conf/tune files: Adjust PACKAGE_EXTEA_ARCHS

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@linuxfoundation.org>
15 files changed:
meta/conf/bitbake.conf
meta/conf/machine/include/tune-arm1136jf-s.inc
meta/conf/machine/include/tune-arm920t.inc
meta/conf/machine/include/tune-arm926ejs.inc
meta/conf/machine/include/tune-arm9tdmi.inc
meta/conf/machine/include/tune-armv7.inc
meta/conf/machine/include/tune-atom.inc
meta/conf/machine/include/tune-c3.inc
meta/conf/machine/include/tune-cortexa8.inc
meta/conf/machine/include/tune-ep9312.inc
meta/conf/machine/include/tune-iwmmxt.inc
meta/conf/machine/include/tune-ppc603e.inc
meta/conf/machine/include/tune-ppce300c2.inc
meta/conf/machine/include/tune-ppce500.inc
meta/conf/machine/include/tune-xscale.inc