diff options
author | Mark Hatle <mark.hatle@windriver.com> | 2015-01-21 22:45:28 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-01-29 15:36:49 +0000 |
commit | 3bf5b6de3edb0d6589155fc1e2cd284c05532c52 (patch) | |
tree | d23916356c995f2e36a5aaffa953c6fa710c4d33 /meta/conf/machine | |
parent | e558e5489da890ff28a1360e279726b51edb1a73 (diff) | |
download | poky-3bf5b6de3edb0d6589155fc1e2cd284c05532c52.tar.gz |
arch-mips.inc: Change definition of TRANSLATED_TARGET_ARCH
[YOCTO #7230]
In certain system configurations TRANSLATED_TARGET_ARCH will not
expand in the right order for gcc-cross-candian-mips64n32 to be
generated properly.
This will cause SDKs to fail to generate properly.
Changing the global definition of TRANSLATED_TARGET_ARCH always
expands the ABIEXTENSION, which causes the OVERRIDES to pick it up
as well. This effectively defines a new class of overrides for the 'n32'.
The side effect is that we need to duplicate some mips64 overrides, and
redefine others that were previously 'n32' or 'mips64' exclusive to have
the correct semantics.
(From OE-Core rev: 4b3a2b703b20583bd107f00a297d972e9bfb514a)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/machine')
-rw-r--r-- | meta/conf/machine/include/mips/arch-mips.inc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/conf/machine/include/mips/arch-mips.inc b/meta/conf/machine/include/mips/arch-mips.inc index 08d8fdc76f..c41fa5e864 100644 --- a/meta/conf/machine/include/mips/arch-mips.inc +++ b/meta/conf/machine/include/mips/arch-mips.inc | |||
@@ -101,4 +101,6 @@ BASE_LIB_tune-mips64el-nf = "lib64" | |||
101 | MIPSPKGSFX_VARIANT_tune-mips64el-nf = "${TUNE_ARCH}" | 101 | MIPSPKGSFX_VARIANT_tune-mips64el-nf = "${TUNE_ARCH}" |
102 | PACKAGE_EXTRA_ARCHS_tune-mips64el-nf = "mips64el-nf" | 102 | PACKAGE_EXTRA_ARCHS_tune-mips64el-nf = "mips64el-nf" |
103 | 103 | ||
104 | TRANSLATED_TARGET_ARCH_append = "${ABIEXTENSION}" | 104 | # On mips we need to redefine this to include the ABIEXTENSION |
105 | # we can avoid the python bit as there are no _ or - to translate | ||
106 | TRANSLATED_TARGET_ARCH = "${TARGET_ARCH}${ABIEXTENSION}" | ||