toolchain-external/CodeSourcery MIPS: available only for R2
authorVicente Olivert Riera <Vincent.Riera@imgtec.com>
Fri, 16 Oct 2015 16:00:01 +0000 (17:00 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 17 Oct 2015 14:21:46 +0000 (16:21 +0200)
Currently the CodeSourcery toolchains for MIPS can be selected to build
mips32 (revision level 1) targets, but the resulting binaries are built
for mips32r2 instead. This is because these toolchains don't have
library support other than mips32r2, so there is no point to allow the
selection of a mips32 variant with a CodeSourcery MIPS toolchain, since
everything will be built for mips32r2 instead.

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
toolchain/toolchain-external/Config.in

index 18eb7844bc797f1d90c8f8f5e667af6e15342efd..4291394b74ce7534a753931a8129fe3b037def13 100644 (file)
@@ -193,11 +193,10 @@ config BR2_TOOLCHAIN_EXTERNAL_ARAGO_ARMV5TE_201109
 config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201505
        bool "Sourcery CodeBench MIPS 2015.05"
        depends on BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
+       depends on BR2_mips_32r2 || BR2_mips_64r2
        depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
        depends on !BR2_MIPS_NABI32
        depends on !BR2_STATIC_LIBS
-       # Unsupported for MIPS R6
-       depends on !BR2_mips_32r6 && !BR2_mips_64r6
        select BR2_TOOLCHAIN_EXTERNAL_GLIBC
        select BR2_TOOLCHAIN_HAS_NATIVE_RPC
        select BR2_INSTALL_LIBSTDCPP
@@ -281,11 +280,10 @@ config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201505
 config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201411
        bool "Sourcery CodeBench MIPS 2014.11"
        depends on BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
+       depends on BR2_mips_32r2 || BR2_mips_64r2
        depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
        depends on !BR2_MIPS_NABI32
        depends on !BR2_STATIC_LIBS
-       # Unsupported for MIPS R6
-       depends on !BR2_mips_32r6 && !BR2_mips_64r6
        select BR2_TOOLCHAIN_EXTERNAL_GLIBC
        select BR2_TOOLCHAIN_HAS_NATIVE_RPC
        select BR2_INSTALL_LIBSTDCPP
@@ -369,11 +367,10 @@ config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201411
 config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201405
        bool "Sourcery CodeBench MIPS 2014.05"
        depends on BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
+       depends on BR2_mips_32r2 || BR2_mips_64r2
        depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
        depends on !BR2_MIPS_NABI32
        depends on !BR2_STATIC_LIBS
-       # Unsupported for MIPS R6
-       depends on !BR2_mips_32r6 && !BR2_mips_64r6
        select BR2_TOOLCHAIN_EXTERNAL_GLIBC
        select BR2_TOOLCHAIN_HAS_NATIVE_RPC
        select BR2_INSTALL_LIBSTDCPP