summaryrefslogtreecommitdiff
path: root/toolchain/toolchain-buildroot
diff options
context:
space:
mode:
authorVicente Olivert Riera <Vincent.Riera@imgtec.com>2015-10-12 11:08:06 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-10-12 21:33:56 +0200
commit99122d67808b91ae1011d440a78f46b0083564b0 (patch)
tree0ea81a8ab81000cdb62a457126d3de59ae7eeda4 /toolchain/toolchain-buildroot
parent3ec38bab0f886bcba05b8b6bbdae8e0f9b549478 (diff)
arch: add support for mips32r6 and mips64r6 variants
- Add support for mips32r6 and mips64r6 target architecture variants - Disable unsupported gcc versions - Disable unsupported binutils versions - Disable unsupported external toolchains - Disable unsuported C libraries - Add a hook in order to make glibc compile for MIPS R6. [Thomas: slightly tweak the glibc hack explanation, to make it hopefully clearer.] Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'toolchain/toolchain-buildroot')
-rw-r--r--toolchain/toolchain-buildroot/Config.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/toolchain/toolchain-buildroot/Config.in b/toolchain/toolchain-buildroot/Config.in
index 56c01c8e5..d3f685f4a 100644
--- a/toolchain/toolchain-buildroot/Config.in
+++ b/toolchain/toolchain-buildroot/Config.in
@@ -34,6 +34,8 @@ config BR2_TOOLCHAIN_BUILDROOT_UCLIBC
BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el || \
BR2_powerpc || BR2_sh2a || BR2_sh4 || BR2_sh4eb || \
BR2_sparc || BR2_xtensa || BR2_x86_64
+ # Unsupported for MIPS R6
+ depends on !BR2_mips_32r6 && !BR2_mips_64r6
help
This option selects uClibc as the C library for the
cross-compilation toolchain.
@@ -90,6 +92,8 @@ config BR2_TOOLCHAIN_BUILDROOT_MUSL
BR2_microblaze || BR2_mips || BR2_mipsel || BR2_powerpc || \
BR2_sh || BR2_x86_64
depends on !BR2_powerpc_SPE # not supported, build breaks
+ # Unsupported for MIPS R6
+ depends on !BR2_mips_32r6 && !BR2_mips_64r6
select BR2_TOOLCHAIN_USES_MUSL
help
This option selects musl as the C library for the