summaryrefslogtreecommitdiff
path: root/toolchain/toolchain-common.in
diff options
context:
space:
mode:
authorPeter Korsgaard <peter@korsgaard.com>2015-09-01 10:05:20 +0200
committerPeter Korsgaard <peter@korsgaard.com>2015-09-01 10:05:20 +0200
commit8dc68293374ff9b5e20dd5ad68820af62d7358fe (patch)
treef2ceb5ef8765019c09984e7b980a1e4129daf9ba /toolchain/toolchain-common.in
parentcfc70a48027b1b56231df62a30a7da888f33e3ce (diff)
toolchain: add 4.2.x choice for headers
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'toolchain/toolchain-common.in')
-rw-r--r--toolchain/toolchain-common.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/toolchain/toolchain-common.in b/toolchain/toolchain-common.in
index 4be55c3cd..4e880a286 100644
--- a/toolchain/toolchain-common.in
+++ b/toolchain/toolchain-common.in
@@ -227,10 +227,15 @@ config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_1
bool
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0
+config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2
+ bool
+ select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_1
+
# 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.2" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2
default "4.1" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_1
default "4.0" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0
default "3.19" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_19