]> code.ossystems Code Review - openembedded-core.git/commit
arch-armv6, arch-armv5-dsp: correct endianness confusion
authorPhil Blundell <philb@gnu.org>
Fri, 29 Jul 2011 00:31:15 +0000 (00:31 +0000)
committerKhem Raj <raj.khem@gmail.com>
Fri, 29 Jul 2011 16:47:56 +0000 (09:47 -0700)
commit391c0102a81455c76244d13b6878e3a76cca65dc
tree4da0ce7dd3ab94f4e2c4ef2c127b0ee0d8b38a2d
parent3b7784021259ac745c80043bec16189fa8f4e45e
arch-armv6, arch-armv5-dsp: correct endianness confusion

PACKAGE_EXTRA_ARCHS_tune-armv5eb needs to be defined in terms of
the non-e with the same endianness, i.e. PACKAGE_EXTRA_ARCHS_tune-armv5b
not PACKAGE_EXTRA_ARCHS_tune-armv5, otherwise PACKAGE_EXTRA_ARCHS will
end up containing a semi-random mixture of endiannesses and disaster
will ensue.  Likewise for the vfp and armv6 variants.

This is all a bit confusing because TUNE_FEATURES is done the opposite
way around, i.e. TUNE_FEATURES_tune-armv5eb is derived by taking the
armv5e version and adding bigendian.  But fixing that is probably
a subject for a separate patch.

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
meta/conf/machine/include/arm/arch-armv5-dsp.inc
meta/conf/machine/include/arm/arch-armv6.inc