toolchain/external: hide versions too old for the current arch
authorYann E. MORIN <yann.morin.1998@free.fr>
Sun, 3 Sep 2017 09:44:30 +0000 (11:44 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 24 Nov 2017 21:16:19 +0000 (22:16 +0100)
Hide the toolchains if the arch requires a gcc version more recent
than the one they provide.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
toolchain/toolchain-external/toolchain-external-codescape-img-mips/Config.in
toolchain/toolchain-external/toolchain-external-codescape-mti-mips/Config.in
toolchain/toolchain-external/toolchain-external-codesourcery-aarch64/Config.in
toolchain/toolchain-external/toolchain-external-codesourcery-amd64/Config.in
toolchain/toolchain-external/toolchain-external-codesourcery-arm/Config.in
toolchain/toolchain-external/toolchain-external-codesourcery-mips/Config.in
toolchain/toolchain-external/toolchain-external-codesourcery-niosII/Config.in
toolchain/toolchain-external/toolchain-external-linaro-aarch64/Config.in
toolchain/toolchain-external/toolchain-external-linaro-arm/Config.in
toolchain/toolchain-external/toolchain-external-linaro-armeb/Config.in
toolchain/toolchain-external/toolchain-external-synopsys-arc/Config.in

index e29c4dcb87f9442a257db9f5028a184c29a70885..8b2eab0ad20241b1b4ab1301a708c50ccd43c00b 100644 (file)
@@ -1,6 +1,7 @@
 config BR2_TOOLCHAIN_EXTERNAL_CODESCAPE_IMG_MIPS
        bool "Codescape IMG GNU Linux Toolchain 2016.05"
        depends on BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
+       depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_5
        depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
        depends on BR2_MIPS_CPU_MIPS32R6 || (BR2_MIPS_CPU_MIPS64R6 && !BR2_MIPS_SOFT_FLOAT)
        select BR2_TOOLCHAIN_EXTERNAL_GLIBC
index efe6f8527ec81ded1cc01a22b1e17a41f7be8ddb..db191fd1be8b8aad6d27a5d6d302e700633042b0 100644 (file)
@@ -1,6 +1,7 @@
 config BR2_TOOLCHAIN_EXTERNAL_CODESCAPE_MTI_MIPS
        bool "Codescape MTI GNU Linux Toolchain 2016.05"
        depends on BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
+       depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_5
        depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
        depends on BR2_MIPS_CPU_MIPS32R2 || (BR2_MIPS_CPU_MIPS64R2 && !BR2_MIPS_SOFT_FLOAT) || \
                BR2_MIPS_CPU_MIPS32R5 || (BR2_MIPS_CPU_MIPS64R5 && !BR2_MIPS_SOFT_FLOAT)
index 66a032e9ac4a6f2fb319a21a48ca87778ee9e646..24cbcffa298e289e9023b645817585f197013e74 100644 (file)
@@ -1,6 +1,7 @@
 config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_AARCH64
        bool "CodeSourcery AArch64 2014.11"
        depends on BR2_aarch64
+       depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_5
        # a57/a53 and a72/a53 appeared in gcc-6 or were broken before
        depends on !BR2_cortex_a57_a53 && !BR2_cortex_a72_a53
        depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
index 101e227af9d5eb1de7349ca754e683379c1d4e6a..50c5a2001906fd41212e23022a09b7fe9cd1db0f 100644 (file)
@@ -1,6 +1,7 @@
 config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_AMD64
        bool "Sourcery CodeBench AMD64 2016.11"
        depends on BR2_x86_64
+       depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_7
        depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
        depends on !BR2_STATIC_LIBS
        depends on BR2_x86_jaguar || BR2_x86_steamroller
index e1a7891007619d91e59eaa92f240325c82e9cb6a..b91daa5c8123ba026ea3b2ebf292e55a73448a31 100644 (file)
@@ -1,6 +1,7 @@
 config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM
        bool "Sourcery CodeBench ARM 2014.05"
        depends on BR2_arm
+       depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_4_9
        # a15/a7 appeared in gcc-4.9, a17/a7 in gcc-5, a57/a53 and a72/a53
        # in gcc-6, or they each were broken earlier than that.
        depends on !BR2_cortex_a15_a7 && !BR2_cortex_a17_a7
@@ -35,5 +36,6 @@ config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM
 
 comment "Sourcery CodeBench toolchains available for the EABI ABI"
        depends on BR2_arm
+       depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_4_9
        depends on !BR2_ARM_EABI
        depends on !BR2_STATIC_LIBS
index 6a13ae6cd6ca39ce1ddb24b414bb345310d1e800..734f0e4c7cc95f083bff8d223c1bc57f62c7b44a 100644 (file)
@@ -2,6 +2,7 @@ config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS
        bool "Sourcery CodeBench MIPS 2016.05"
        depends on BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
        depends on BR2_MIPS_CPU_MIPS32R2 || BR2_MIPS_CPU_MIPS64R2
+       depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_6
        # Unsupported MIPS cores
        depends on !BR2_mips_interaptiv
        depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
@@ -89,5 +90,6 @@ config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS
              Select BR2_SOFT_FLOAT
 
 comment "Sourcery CodeBench toolchains are only available for MIPS/MIPS64 o32 and n64"
+       depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_6
        depends on BR2_MIPS_NABI32
        depends on !BR2_STATIC_LIBS
index 341bc2ab44b82e4216482409501a6b7206403aaa..7563995eb643e85f02ad9f0475f21ca4df2f2061 100644 (file)
@@ -1,6 +1,7 @@
 config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII
        bool "Sourcery CodeBench Nios-II 2017.05"
        depends on BR2_nios2
+       depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_7
        depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
        depends on !BR2_STATIC_LIBS
        select BR2_TOOLCHAIN_EXTERNAL_GLIBC
index 5f66f566629821ca42d5fb7059df7844e3cbe2b1..0a9e60a371769c52bed543f4122f5a991c2b7cdd 100644 (file)
@@ -1,6 +1,7 @@
 config BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64
        bool "Linaro AArch64 2017.08"
        depends on BR2_aarch64
+       depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_7
        depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
        depends on !BR2_STATIC_LIBS
        select BR2_TOOLCHAIN_EXTERNAL_GLIBC
index fd4e03b2bcc528eb81de9cf5c24377e576930988..9e0bcad501a2a0a4d90a75e6fca755fdfb4ad380 100644 (file)
@@ -1,11 +1,13 @@
 comment "Linaro toolchains available for Cortex-A + EABIhf"
        depends on BR2_arm
+       depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_7
        depends on !BR2_ARM_CPU_ARMV7A || !BR2_ARM_EABIHF
        depends on !BR2_STATIC_LIBS
 
 config BR2_TOOLCHAIN_EXTERNAL_LINARO_ARM
        bool "Linaro ARM 2017.08"
        depends on BR2_arm
+       depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_7
        depends on BR2_ARM_CPU_ARMV7A || BR2_ARM_CPU_ARMV8
        depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
        depends on BR2_ARM_EABIHF
index 5fb7eb5c1d2ad20991d6a988cb0ba3f867b4f804..52fa4506bb9eac8b0c4adfb9dcc3ea99f773e650 100644 (file)
@@ -1,11 +1,13 @@
 comment "Linaro toolchains available for Cortex-A + EABIhf"
        depends on BR2_armeb
+       depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_7
        depends on !BR2_ARM_CPU_ARMV7A || !BR2_ARM_EABIHF
        depends on !BR2_STATIC_LIBS
 
 config BR2_TOOLCHAIN_EXTERNAL_LINARO_ARMEB
        bool "Linaro armeb 2017.08"
        depends on BR2_armeb
+       depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_7
        depends on BR2_ARM_CPU_ARMV7A || BR2_ARM_CPU_ARMV8
        depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
        depends on BR2_ARM_EABIHF
index f438ea765de5fcf0f526a3c2e48a285395f338d5..8e4344a83d644f1b255876423bfd4f74817fb820 100644 (file)
@@ -1,6 +1,7 @@
 config BR2_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC
        bool "Synopsys ARC 2016.09 toolchain"
        depends on BR2_arc
+       depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_7
        depends on BR2_HOSTARCH = "x86_64"
        select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
        select BR2_INSTALL_LIBSTDCPP