toolchain/toolchain-external/toolchain-external-custom: add gcc 12 version selection

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

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
Florian Fainelli 2022-04-26 10:32:11 -07:00 committed by Arnout Vandecappelle (Essensium/Mind)
parent f698cbc223
commit 6063f2378f

View File

@ -31,6 +31,10 @@ choice
Set to the gcc version that is used by your external
toolchain.
config BR2_TOOLCHAIN_EXTERNAL_GCC_12
bool "12.x"
select BR2_TOOLCHAIN_GCC_AT_LEAST_12
config BR2_TOOLCHAIN_EXTERNAL_GCC_11
bool "11.x"
select BR2_TOOLCHAIN_GCC_AT_LEAST_11