toolchain: add 4.7.x choice for headers
authorFabio Estevam <fabio.estevam@nxp.com>
Sun, 24 Jul 2016 23:56:09 +0000 (20:56 -0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 25 Jul 2016 20:16:59 +0000 (22:16 +0200)
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
toolchain/toolchain-common.in
toolchain/toolchain-external/Config.in

index d69acf2644e5552e3e04ac3368b7b37f4b607733..5611b5bbe8ca4dc19415165dc24d28353dbdac6f 100644 (file)
@@ -251,10 +251,15 @@ config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_6
        bool
        select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_5
 
+config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_7
+       bool
+       select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_6
+
 # 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.7"  if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_7
        default "4.6"  if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_6
        default "4.5"  if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_5
        default "4.4"  if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_4
index 16b877a5f15cbf88c3f77715e9404590c2fdef70..5edde24dcc3a17373fca70855a15c995fae46007 100644 (file)
@@ -793,6 +793,10 @@ choice
            m = ( LINUX_VERSION_CODE >> 8  ) & 0xFF
            p = ( LINUX_VERSION_CODE >> 0  ) & 0xFF
 
+config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_7
+       bool "4.7.x"
+       select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_7
+
 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_6
        bool "4.6.x"
        select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_6