toolchain/Config.in: add BR2_TOOLCHAIN_GCC_AT_LEAST_13 blind option

In order to add gcc 13 support for internal and external toolchain in
follow-up commits, introduce BR2_TOOLCHAIN_GCC_AT_LEAST_13 symbol.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
master
Romain Naour 2023-07-28 00:25:37 +02:00 committed by Thomas Petazzoni
parent 3d4b54bb62
commit 8d9557fd1a
1 changed files with 5 additions and 0 deletions

View File

@ -752,10 +752,15 @@ config BR2_TOOLCHAIN_GCC_AT_LEAST_12
bool
select BR2_TOOLCHAIN_GCC_AT_LEAST_11
config BR2_TOOLCHAIN_GCC_AT_LEAST_13
bool
select BR2_TOOLCHAIN_GCC_AT_LEAST_12
# This order guarantees that the highest version is set, as kconfig
# stops affecting a value on the first matching default.
config BR2_TOOLCHAIN_GCC_AT_LEAST
string
default "13" if BR2_TOOLCHAIN_GCC_AT_LEAST_13
default "12" if BR2_TOOLCHAIN_GCC_AT_LEAST_12
default "11" if BR2_TOOLCHAIN_GCC_AT_LEAST_11
default "10" if BR2_TOOLCHAIN_GCC_AT_LEAST_10