|
@@ -8,84 +8,84 @@ choice
|
|
|
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
|
|
|
- depends on BR2_arc
|
|
|
- select BR2_TOOLCHAIN_GCC_AT_LEAST_6
|
|
|
-
|
|
|
- config BR2_GCC_VERSION_OR1K
|
|
|
- bool "gcc or1k (5.x)"
|
|
|
- # Only supported architecture
|
|
|
- depends on BR2_or1k
|
|
|
- select BR2_TOOLCHAIN_GCC_AT_LEAST_5
|
|
|
-
|
|
|
- config BR2_GCC_VERSION_4_9_X
|
|
|
- bool "gcc 4.9.x"
|
|
|
- # Broken or unsupported architectures
|
|
|
- depends on !BR2_arc && !BR2_bfin && !BR2_or1k
|
|
|
- # Broken or unsupported ARM cores
|
|
|
- depends on !BR2_cortex_a17 && !BR2_cortex_a72
|
|
|
- # Unsupported MIPS cores
|
|
|
- depends on !BR2_mips_interaptiv
|
|
|
- # 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 microblaze unsupported
|
|
|
- depends on !(BR2_TOOLCHAIN_USES_MUSL && (BR2_microblazeel || BR2_microblazebe))
|
|
|
- # 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))
|
|
|
- # PR60102 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60102
|
|
|
- select BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|
|
|
-
|
|
|
- config BR2_GCC_VERSION_5_X
|
|
|
- bool "gcc 5.x"
|
|
|
- # Broken or unsupported architectures
|
|
|
- depends on !BR2_arc && !BR2_bfin && !BR2_or1k
|
|
|
- # musl ppc64 unsupported
|
|
|
- depends on !(BR2_TOOLCHAIN_USES_MUSL && (BR2_powerpc64 || BR2_powerpc64le))
|
|
|
- # Unsupported MIPS cores
|
|
|
- depends on !BR2_mips_interaptiv && !BR2_mips_m5150 && \
|
|
|
- !BR2_mips_m6250 && !BR2_mips_i6400 && !BR2_mips_p6600
|
|
|
- # musl mips64 unsupported
|
|
|
- depends on !(BR2_TOOLCHAIN_USES_MUSL && (BR2_mips64 || BR2_mips64el))
|
|
|
- select BR2_TOOLCHAIN_GCC_AT_LEAST_5
|
|
|
-
|
|
|
- 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_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
|
|
|
+ depends on BR2_arc
|
|
|
+ select BR2_TOOLCHAIN_GCC_AT_LEAST_6
|
|
|
+
|
|
|
+config BR2_GCC_VERSION_OR1K
|
|
|
+ bool "gcc or1k (5.x)"
|
|
|
+ # Only supported architecture
|
|
|
+ depends on BR2_or1k
|
|
|
+ select BR2_TOOLCHAIN_GCC_AT_LEAST_5
|
|
|
+
|
|
|
+config BR2_GCC_VERSION_4_9_X
|
|
|
+ bool "gcc 4.9.x"
|
|
|
+ # Broken or unsupported architectures
|
|
|
+ depends on !BR2_arc && !BR2_bfin && !BR2_or1k
|
|
|
+ # Broken or unsupported ARM cores
|
|
|
+ depends on !BR2_cortex_a17 && !BR2_cortex_a72
|
|
|
+ # Unsupported MIPS cores
|
|
|
+ depends on !BR2_mips_interaptiv
|
|
|
+ # 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 microblaze unsupported
|
|
|
+ depends on !(BR2_TOOLCHAIN_USES_MUSL && (BR2_microblazeel || BR2_microblazebe))
|
|
|
+ # 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))
|
|
|
+ # PR60102 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60102
|
|
|
+ select BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|
|
|
+
|
|
|
+config BR2_GCC_VERSION_5_X
|
|
|
+ bool "gcc 5.x"
|
|
|
+ # Broken or unsupported architectures
|
|
|
+ depends on !BR2_arc && !BR2_bfin && !BR2_or1k
|
|
|
+ # musl ppc64 unsupported
|
|
|
+ depends on !(BR2_TOOLCHAIN_USES_MUSL && (BR2_powerpc64 || BR2_powerpc64le))
|
|
|
+ # Unsupported MIPS cores
|
|
|
+ depends on !BR2_mips_interaptiv && !BR2_mips_m5150 && \
|
|
|
+ !BR2_mips_m6250 && !BR2_mips_i6400 && !BR2_mips_p6600
|
|
|
+ # musl mips64 unsupported
|
|
|
+ depends on !(BR2_TOOLCHAIN_USES_MUSL && (BR2_mips64 || BR2_mips64el))
|
|
|
+ select BR2_TOOLCHAIN_GCC_AT_LEAST_5
|
|
|
+
|
|
|
+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
|
|
|
|
|
|
endchoice
|
|
|
|