toolchain: add BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0
authorJoel Stanley <joel@jms.id.au>
Thu, 21 Mar 2019 00:28:27 +0000 (10:58 +1030)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Tue, 26 Mar 2019 17:54:55 +0000 (18:54 +0100)
Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
toolchain/Config.in

index bcbc3cf98432ae40706850debbb1ad2f7100ecb7..3f297f6b433ba7066ff7057138d01b6dce7fdfbd 100644 (file)
@@ -397,10 +397,15 @@ config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_20
        bool
        select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_19
 
+config BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0
+       bool
+       select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_20
+
 # 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.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
        default "4.18" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_18