toolchain: add gcc 9 entry
authorRomain Naour <romain.naour@gmail.com>
Thu, 20 Jun 2019 10:07:14 +0000 (12:07 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 22 Jun 2019 19:31:49 +0000 (21:31 +0200)
In order to add gcc 9 support for internal and external toolchain in
follow-up commits, introduce BR2_TOOLCHAIN_GCC_AT_LEAST_9 symbol.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
toolchain/Config.in

index 82d2658a1d400715e5445db53f4ee7bd9fb17b25..db3ce3cf244d976ed1f2e35466ed6539d8638271 100644 (file)
@@ -521,10 +521,15 @@ config BR2_TOOLCHAIN_GCC_AT_LEAST_8
        bool
        select BR2_TOOLCHAIN_GCC_AT_LEAST_7
 
+config BR2_TOOLCHAIN_GCC_AT_LEAST_9
+       bool
+       select BR2_TOOLCHAIN_GCC_AT_LEAST_8
+
 # 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 "9"     if BR2_TOOLCHAIN_GCC_AT_LEAST_9
        default "8"     if BR2_TOOLCHAIN_GCC_AT_LEAST_8
        default "7"     if BR2_TOOLCHAIN_GCC_AT_LEAST_7
        default "6"     if BR2_TOOLCHAIN_GCC_AT_LEAST_6