diff mbox series

[1/7] toolchain/Config.in: add BR2_TOOLCHAIN_GCC_AT_LEAST_15 blind option

Message ID 20250425201824.141234-2-thomas.petazzoni@bootlin.com
State New
Headers show
Series Add support for building toolchains with GCC 15.x | expand

Commit Message

Thomas Petazzoni April 25, 2025, 8:18 p.m. UTC
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>
---
 toolchain/Config.in | 5 +++++
 1 file changed, 5 insertions(+)
diff mbox series

Patch

diff --git a/toolchain/Config.in b/toolchain/Config.in
index 2290d13ad0..54765fc100 100644
--- a/toolchain/Config.in
+++ b/toolchain/Config.in
@@ -806,10 +806,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