toolchain: add gcc 8 entry
authorRomain Naour <romain.naour@gmail.com>
Tue, 29 May 2018 21:52:54 +0000 (23:52 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Wed, 30 May 2018 19:44:12 +0000 (21:44 +0200)
In order to add gcc 8 support for internal and external toolchain in
follow-up commits, introduce BR2_TOOLCHAIN_GCC_AT_LEAST_8 symbol.

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

index 77f95ee1c32c25b03a4f359ccbba80a65df4cd0b..064bd4c28c9ca4713d99908e8ea8d1052d390c1a 100644 (file)
@@ -404,10 +404,15 @@ config BR2_TOOLCHAIN_GCC_AT_LEAST_7
        bool
        select BR2_TOOLCHAIN_GCC_AT_LEAST_6
 
+config BR2_TOOLCHAIN_GCC_AT_LEAST_8
+       bool
+       select BR2_TOOLCHAIN_GCC_AT_LEAST_7
+
 # 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 "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
        default "5"     if BR2_TOOLCHAIN_GCC_AT_LEAST_5