toolchain: add 4.17.x choice for headers
authorFabio Estevam <festevam@gmail.com>
Mon, 4 Jun 2018 12:48:25 +0000 (09:48 -0300)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Mon, 4 Jun 2018 20:44:42 +0000 (22:44 +0200)
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
toolchain/Config.in
toolchain/toolchain-external/toolchain-external-custom/Config.in.options

index 3936fc45119729fa90ce11f88c3d6c2b1c7a0bf0..3a53a32a6d65410833c31c5596d8b05df76adf13 100644 (file)
@@ -336,10 +336,15 @@ config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_16
        bool
        select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_15
 
+config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_17
+       bool
+       select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_16
+
 # 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.17" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_17
        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
index 2ef11267406b48fd67a6f51708d07a07e13b0307..6a9921c1490437aa76ecae7dcb538291fa346bf7 100644 (file)
@@ -123,6 +123,10 @@ choice
            m = ( LINUX_VERSION_CODE >> 8  ) & 0xFF
            p = ( LINUX_VERSION_CODE >> 0  ) & 0xFF
 
+config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_17
+       bool "4.17.x"
+       select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_17
+
 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_16
        bool "4.16.x"
        select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_16