toolchain/Config.in: add BR2_TOOLCHAIN_GCC_AT_LEAST_11 blind option
authorRomain Naour <romain.naour@gmail.com>
Sat, 12 Jun 2021 09:40:11 +0000 (11:40 +0200)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Sun, 20 Jun 2021 16:43:25 +0000 (18:43 +0200)
In order to add gcc 11 support for internal and external toolchain in
follow-up commits, introduce BR2_TOOLCHAIN_GCC_AT_LEAST_11 symbol.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
toolchain/Config.in

index 0181ef07de3efa42fee94dd04d63f872eab0bcc1..fe327b9f46f920d41f088a600a0509b861c4facf 100644 (file)
@@ -630,10 +630,15 @@ config BR2_TOOLCHAIN_GCC_AT_LEAST_10
        bool
        select BR2_TOOLCHAIN_GCC_AT_LEAST_9
 
+config BR2_TOOLCHAIN_GCC_AT_LEAST_11
+       bool
+       select BR2_TOOLCHAIN_GCC_AT_LEAST_10
+
 # 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 "11"    if BR2_TOOLCHAIN_GCC_AT_LEAST_11
        default "10"    if BR2_TOOLCHAIN_GCC_AT_LEAST_10
        default "9"     if BR2_TOOLCHAIN_GCC_AT_LEAST_9
        default "8"     if BR2_TOOLCHAIN_GCC_AT_LEAST_8