Explorar o código

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>
Thomas Petazzoni hai 3 meses
pai
achega
ccf1714502
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  1. 5 0
      toolchain/Config.in

+ 5 - 0
toolchain/Config.in

@@ -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