[Buildroot] [git commit branch/next] toolchain/toolchain-external/toolchain-external-custom: add gcc 11 version selection

Arnout Vandecappelle (Essensium/Mind) arnout at mind.be
Tue Aug 3 21:13:45 UTC 2021


commit: https://git.buildroot.net/buildroot/commit/?id=cbaabbd42f9c632691ba78babb8f41084fa2e356
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/next

This patch allows to use an external toolchain based on gcc 11.

Signed-off-by: Romain Naour <romain.naour at gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>
---
 .../toolchain-external/toolchain-external-custom/Config.in.options    | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/toolchain/toolchain-external/toolchain-external-custom/Config.in.options b/toolchain/toolchain-external/toolchain-external-custom/Config.in.options
index ba9aeb29ad..4a3345e4a5 100644
--- a/toolchain/toolchain-external/toolchain-external-custom/Config.in.options
+++ b/toolchain/toolchain-external/toolchain-external-custom/Config.in.options
@@ -31,6 +31,10 @@ choice
 	  Set to the gcc version that is used by your external
 	  toolchain.
 
+config BR2_TOOLCHAIN_EXTERNAL_GCC_11
+	bool "11.x"
+	select BR2_TOOLCHAIN_GCC_AT_LEAST_11
+
 config BR2_TOOLCHAIN_EXTERNAL_GCC_10
 	bool "10.x"
 	select BR2_TOOLCHAIN_GCC_AT_LEAST_10


More information about the buildroot mailing list