summaryrefslogtreecommitdiffstats
path: root/toolchain
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2014-12-08 08:10:39 -0300
committerPeter Korsgaard <peter@korsgaard.com>2014-12-08 13:10:30 +0100
commitbf6f74de113d1a36317cd53121e76314c8e7c345 (patch)
treedcbc44d95d053ee8239fcd282159519caa1e49ec /toolchain
parentebdfdd9c1f2324d15748c06b4a8aa1546ae93fb8 (diff)
downloadbuildroot-bf6f74de113d1a36317cd53121e76314c8e7c345.tar.gz
buildroot-bf6f74de113d1a36317cd53121e76314c8e7c345.zip
toolchain: add 3.18 choice for headers
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/toolchain-common.in5
-rw-r--r--toolchain/toolchain-external/Config.in4
2 files changed, 9 insertions, 0 deletions
diff --git a/toolchain/toolchain-common.in b/toolchain/toolchain-common.in
index ad04d6459e..b2468341ff 100644
--- a/toolchain/toolchain-common.in
+++ b/toolchain/toolchain-common.in
@@ -217,10 +217,15 @@ config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17
bool
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_16
+config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18
+ bool
+ select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17
+
# 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.18" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18
default "3.17" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17
default "3.16" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_16
default "3.15" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15
diff --git a/toolchain/toolchain-external/Config.in b/toolchain/toolchain-external/Config.in
index 66166dd4f6..2e9352bc21 100644
--- a/toolchain/toolchain-external/Config.in
+++ b/toolchain/toolchain-external/Config.in
@@ -1038,6 +1038,10 @@ choice
m = ( LINUX_VERSION_CODE >> 8 ) & 0xFF
p = ( LINUX_VERSION_CODE >> 0 ) & 0xFF
+config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_18
+ bool "3.18.x"
+ select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18
+
config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_17
bool "3.17.x"
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17
OpenPOWER on IntegriCloud