[Buildroot] [PATCH v3 15/21] toolchain/Config.in: add BR2_TOOLCHAIN_GCC_AT_LEAST_16 blind option
Bernd Kuhls
bernd at kuhls.net
Fri May 1 06:23:08 UTC 2026
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 at kuhls.net>
---
toolchain/Config.in | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/toolchain/Config.in b/toolchain/Config.in
index 910cd103dc..5aa6cf8f6d 100644
--- a/toolchain/Config.in
+++ b/toolchain/Config.in
@@ -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
--
2.47.3
More information about the buildroot
mailing list