summaryrefslogtreecommitdiffstats
path: root/package/gcc/Config.in.host
diff options
context:
space:
mode:
Diffstat (limited to 'package/gcc/Config.in.host')
-rw-r--r--package/gcc/Config.in.host38
1 files changed, 12 insertions, 26 deletions
diff --git a/package/gcc/Config.in.host b/package/gcc/Config.in.host
index 5a0fd970b8..2b78b29d4a 100644
--- a/package/gcc/Config.in.host
+++ b/package/gcc/Config.in.host
@@ -4,33 +4,10 @@ choice
prompt "GCC compiler Version"
default BR2_GCC_VERSION_ARC if BR2_arc
default BR2_GCC_VERSION_OR1K if BR2_or1k
- default BR2_GCC_VERSION_5_X
+ default BR2_GCC_VERSION_6_X
help
Select the version of gcc you wish to use.
-config BR2_GCC_VERSION_4_8_X
- bool "gcc 4.8.x"
- # Broken or unsupported architectures
- depends on !BR2_microblaze && !BR2_arc && !BR2_or1k \
- && !BR2_powerpc64le && !BR2_nios2 && !BR2_bfin
- # Broken or unsupported ARM cores
- depends on !BR2_cortex_a12 && !BR2_cortex_a17 && !BR2_ARM_CPU_ARMV8
- # Broken or unsupported PPC cores
- depends on !BR2_powerpc_power8
- # Unsupported MIPS cores
- depends on !BR2_mips_interaptiv
- # gcc-4.8.x + binutils-2.25 is broken for MIPS
- depends on !((BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el) && BR2_BINUTILS_VERSION_2_25_X)
- # Unsupported for MIPS R5
- depends on !BR2_MIPS_CPU_MIPS32R5 && !BR2_MIPS_CPU_MIPS64R5
- # Unsupported for MIPS R6
- depends on !BR2_MIPS_CPU_MIPS32R6 && !BR2_MIPS_CPU_MIPS64R6
- # musl ppc64 unsupported
- depends on !(BR2_TOOLCHAIN_USES_MUSL && (BR2_powerpc64 || BR2_powerpc64le))
- # musl mips64 unsupported
- depends on !(BR2_TOOLCHAIN_USES_MUSL && (BR2_mips64 || BR2_mips64el))
- select BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
-
config BR2_GCC_VERSION_ARC
bool "gcc arc (6.x)"
# Only supported architecture
@@ -81,12 +58,21 @@ config BR2_GCC_VERSION_6_X
bool "gcc 6.x"
# Broken or unsupported architectures
depends on !BR2_arc
- depends on !BR2_microblaze
depends on !BR2_or1k
# Unsupported MIPS cores
depends on !BR2_mips_m6250 && !BR2_mips_p6600
select BR2_TOOLCHAIN_GCC_AT_LEAST_6
+config BR2_GCC_VERSION_7_X
+ bool "gcc 7.x"
+ # Broken or unsupported architectures
+ depends on !BR2_arc
+ depends on !BR2_microblaze
+ depends on !BR2_or1k
+ # Unsupported MIPS cores
+ depends on !BR2_mips_m6250 && !BR2_mips_p6600
+ select BR2_TOOLCHAIN_GCC_AT_LEAST_7
+
endchoice
# Indicates if GCC for architecture supports --with-{arch,cpu,..} to
@@ -102,10 +88,10 @@ config BR2_GCC_SUPPORTS_FINEGRAINEDMTUNE
config BR2_GCC_VERSION
string
- default "4.8.5" if BR2_GCC_VERSION_4_8_X
default "4.9.4" if BR2_GCC_VERSION_4_9_X
default "5.4.0" if BR2_GCC_VERSION_5_X
default "6.3.0" if BR2_GCC_VERSION_6_X
+ default "7.1.0" if BR2_GCC_VERSION_7_X
default "arc-2017.03" if BR2_GCC_VERSION_ARC
default "musl-5.4.0" if BR2_GCC_VERSION_OR1K
OpenPOWER on IntegriCloud