toolchain/Config.in: add BR2_TOOLCHAIN_GCC_AT_LEAST_16 blind option

In order to add gcc 16 support in follow-up commits, introduce
BR2_TOOLCHAIN_GCC_AT_LEAST_16 symbol.

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
Bernd Kuhls
2026-05-06 18:31:29 +02:00
committed by Julien Olivain
parent 27ebca4af2
commit b3329ed3e0

View File

@@ -848,10 +848,15 @@ config BR2_TOOLCHAIN_GCC_AT_LEAST_15
bool
select BR2_TOOLCHAIN_GCC_AT_LEAST_14
config BR2_TOOLCHAIN_GCC_AT_LEAST_16
bool
select BR2_TOOLCHAIN_GCC_AT_LEAST_15
# 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 "16" if BR2_TOOLCHAIN_GCC_AT_LEAST_16
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