toolchain/Config.in: add BR2_TOOLCHAIN_GCC_AT_LEAST_14 blind option

In order to add gcc 14 support in follow-up commits, introduce
BR2_TOOLCHAIN_GCC_AT_LEAST_13 symbol.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Thomas Petazzoni 2024-05-11 22:22:19 +02:00
parent 76e473154d
commit 1c7f6a4457

View File

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