toolchain/Config.in: add BR2_TOOLCHAIN_GCC_AT_LEAST_15 blind option

In order to add gcc 15 support in follow-up commits, introduce
BR2_TOOLCHAIN_GCC_AT_LEAST_15 symbol.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
Thomas Petazzoni
2025-04-25 22:18:15 +02:00
committed by Julien Olivain
parent 90c5270bac
commit ccf1714502

View File

@@ -811,10 +811,15 @@ config BR2_TOOLCHAIN_GCC_AT_LEAST_14
bool
select BR2_TOOLCHAIN_GCC_AT_LEAST_13
config BR2_TOOLCHAIN_GCC_AT_LEAST_15
bool
select BR2_TOOLCHAIN_GCC_AT_LEAST_14
# 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 "15" if BR2_TOOLCHAIN_GCC_AT_LEAST_15
default "14" if BR2_TOOLCHAIN_GCC_AT_LEAST_14
default "13" if BR2_TOOLCHAIN_GCC_AT_LEAST_13
default "12" if BR2_TOOLCHAIN_GCC_AT_LEAST_12