toolchain: add necessary options to support 4.20 kernel headers
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>
Mon, 31 Dec 2018 17:52:31 +0000 (18:52 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 1 Jan 2019 21:56:16 +0000 (22:56 +0100)
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
toolchain/Config.in

index bf8ed5bf5b3d116903c28c91d175ad04bec86567..baf192c936d4d2c1ee0391a8abf8ee2a62573797 100644 (file)
@@ -370,10 +370,15 @@ config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_19
        bool
        select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_18
 
+config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_20
+       bool
+       select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_19
+
 # 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 "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
        default "4.17" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_17