toolchain: add 4.16.x choice for headers
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sun, 8 Apr 2018 18:26:43 +0000 (20:26 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Mon, 9 Apr 2018 19:15:04 +0000 (21:15 +0200)
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Tested-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
toolchain/Config.in
toolchain/toolchain-external/toolchain-external-custom/Config.in.options

index b33eaffd52b9175f6130a58d378929cfb34d321b..e2ef1e7ef39ea1c6453116906e249ae5954b3105 100644 (file)
@@ -323,10 +323,15 @@ config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_15
        bool
        select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_14
 
+config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_16
+       bool
+       select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_15
+
 # 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.16" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_16
        default "4.15" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_15
        default "4.14" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_14
        default "4.13" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_13
index 6c12b1619c3791a18bc42645c56e5c271f8852c2..8cc9db6841301424d6035683413654bc50130f86 100644 (file)
@@ -108,6 +108,10 @@ choice
            m = ( LINUX_VERSION_CODE >> 8  ) & 0xFF
            p = ( LINUX_VERSION_CODE >> 0  ) & 0xFF
 
+config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_16
+       bool "4.16.x"
+       select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_16
+
 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_15
        bool "4.15.x"
        select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_15