toolchain: add BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_1
authorClément Leger <cleger@kalray.eu>
Thu, 4 Apr 2019 07:01:11 +0000 (09:01 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 7 Apr 2019 07:10:10 +0000 (09:10 +0200)
Signed-off-by: Clement Leger <clement.leger@kalray.eu>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
toolchain/Config.in

index 552220123fef21666499253c5fd09c8b9d92088c..8c5a4fb88eacd0149d755b2fc44aee26be102a62 100644 (file)
@@ -404,10 +404,15 @@ config BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0
        bool
        select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_20
 
+config BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_1
+       bool
+       select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0
+
 # This order guarantees that the highest version is set, as kconfig
 # stops affecting a value on the first matching default.
 config BR2_TOOLCHAIN_HEADERS_AT_LEAST
        string
+       default "5.1"  if BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_1
        default "5.0"  if BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0
        default "4.20" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_20
        default "4.19" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_19