[Buildroot] [git commit] toolchain/Config.in: add BR2_TOOLCHAIN_GCC_AT_LEAST_13 blind option

Thomas Petazzoni thomas.petazzoni at bootlin.com
Fri Jul 28 20:04:47 UTC 2023


commit: https://git.buildroot.net/buildroot/commit/?id=8d9557fd1a41967d355da4e14378fb7c81a58515
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

In order to add gcc 13 support for internal and external toolchain in
follow-up commits, introduce BR2_TOOLCHAIN_GCC_AT_LEAST_13 symbol.

Signed-off-by: Romain Naour <romain.naour at gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
---
 toolchain/Config.in | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/toolchain/Config.in b/toolchain/Config.in
index 2479128cab..a142d27231 100644
--- a/toolchain/Config.in
+++ b/toolchain/Config.in
@@ -752,10 +752,15 @@ config BR2_TOOLCHAIN_GCC_AT_LEAST_12
 	bool
 	select BR2_TOOLCHAIN_GCC_AT_LEAST_11
 
+config BR2_TOOLCHAIN_GCC_AT_LEAST_13
+	bool
+	select BR2_TOOLCHAIN_GCC_AT_LEAST_12
+
 # 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 "13"	if BR2_TOOLCHAIN_GCC_AT_LEAST_13
 	default "12"	if BR2_TOOLCHAIN_GCC_AT_LEAST_12
 	default "11"	if BR2_TOOLCHAIN_GCC_AT_LEAST_11
 	default "10"	if BR2_TOOLCHAIN_GCC_AT_LEAST_10



More information about the buildroot mailing list