toolchain: add 3.15 choice for headers
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Mon, 9 Jun 2014 11:30:33 +0000 (08:30 -0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 9 Jun 2014 12:48:55 +0000 (14:48 +0200)
[Thomas: fix BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15 to select
BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14 and not itself.]

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
toolchain/toolchain-common.in
toolchain/toolchain-external/Config.in

index 1573e00e9c14a6a762ec89b625b04fc81f0d6745..a91d247077ed08750f8ef776e9ea299216494ebf 100644 (file)
@@ -180,10 +180,15 @@ config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14
        bool
        select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13
 
+config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15
+       bool
+       select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14
+
 # 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 "3.15" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15
        default "3.14" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14
        default "3.13" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13
        default "3.12" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
index f4a5ccf653380ad12c4c5f85b18f1189ead5c9b5..aa21f22af0ad2a2c79e7584a5f8dd2e136d168eb 100644 (file)
@@ -1018,6 +1018,10 @@ choice
            m = ( LINUX_VERSION_CODE >> 8  ) & 0xFF
            p = ( LINUX_VERSION_CODE >> 0  ) & 0xFF
 
+config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_15
+       bool "3.15.x"
+       select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15
+
 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_14
        bool "3.14.x"
        select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14