[oe-commits] Mark Hatle : arch-mips.inc: Add the MIPS ABIEXTENSION to toolchain name
git at git.openembedded.org
git at git.openembedded.org
Wed Jan 21 14:57:01 UTC 2015
Module: openembedded-core.git
Branch: master-next
Commit: 0bcc01121e928d0be7a0550e500425852c63cf98
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=0bcc01121e928d0be7a0550e500425852c63cf98
Author: Mark Hatle <mark.hatle at windriver.com>
Date: Thu Jan 15 09:05:33 2015 -0600
arch-mips.inc: Add the MIPS ABIEXTENSION to toolchain name
[YOCTO #7143]
When the system is configured for a multilib SDK, such as:
require conf/multilib.conf
MULTILIBS = "multilib:lib32 multilib:lib64"
DEFAULTTUNE = "mips32r2"
DEFAULTTUNE_virtclass-multilib-lib32 = "mips64-n32"
DEFAULTTUNE_virtclass-multilib-lib64 = "mips64"
Only one of the mips64-n32 or mips64 toolchains is built. Causing the
other to be unavailable. This is due to both recipes ending up with the
same PN.
The toolchain uses the TRANSLATED_TARGET_ARCH in it's name, however the
target for mips64 and mips64 n32 were the same, causing the conflict.
Avoid this conflict by adding the ABIEXTENSION to the name.
Signed-off-by: Mark Hatle <mark.hatle at windriver.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/conf/machine/include/mips/arch-mips.inc | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta/conf/machine/include/mips/arch-mips.inc b/meta/conf/machine/include/mips/arch-mips.inc
index 02626d3..08d8fdc 100644
--- a/meta/conf/machine/include/mips/arch-mips.inc
+++ b/meta/conf/machine/include/mips/arch-mips.inc
@@ -100,3 +100,5 @@ TUNE_FEATURES_tune-mips64el-nf = "n64"
BASE_LIB_tune-mips64el-nf = "lib64"
MIPSPKGSFX_VARIANT_tune-mips64el-nf = "${TUNE_ARCH}"
PACKAGE_EXTRA_ARCHS_tune-mips64el-nf = "mips64el-nf"
+
+TRANSLATED_TARGET_ARCH_append = "${ABIEXTENSION}"
More information about the Openembedded-commits
mailing list