arch: add BR2_ARCH_NEEDS_GCC_AT_LEAST_11

This new symbol will be used by architectures introduced with gcc 11.

[1] https://gcc.gnu.org/gcc-11/changes.html

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
Romain Naour 2021-06-12 11:40:13 +02:00 committed by Arnout Vandecappelle (Essensium/Mind)
parent 2ab88dac29
commit b28e598cec
2 changed files with 5 additions and 0 deletions

View File

@ -321,6 +321,10 @@ config BR2_ARCH_NEEDS_GCC_AT_LEAST_10
bool
select BR2_ARCH_NEEDS_GCC_AT_LEAST_9
config BR2_ARCH_NEEDS_GCC_AT_LEAST_11
bool
select BR2_ARCH_NEEDS_GCC_AT_LEAST_10
# The following string values are defined by the individual
# Config.in.$ARCH files
config BR2_ARCH

View File

@ -41,6 +41,7 @@ config BR2_GCC_VERSION_9_X
config BR2_GCC_VERSION_10_X
bool "gcc 10.x"
depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_11
# powerpc spe support has been deprecated since gcc 8.x.
# https://gcc.gnu.org/ml/gcc/2018-04/msg00102.html
depends on !BR2_powerpc_SPE