Skip to content

Commit 4c48f4b

Browse files
jacmetabrodkin
authored andcommitted
toolchain: add 4.2.x choice for headers
Signed-off-by: Peter Korsgaard <[email protected]>
1 parent cb513e3 commit 4c48f4b

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

toolchain/toolchain-common.in

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,10 +227,15 @@ config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_1
227227
bool
228228
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0
229229

230+
config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2
231+
bool
232+
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_1
233+
230234
# This order guarantees that the highest version is set, as kconfig
231235
# stops affecting a value on the first matching default.
232236
config BR2_TOOLCHAIN_HEADERS_AT_LEAST
233237
string
238+
default "4.2" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2
234239
default "4.1" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_1
235240
default "4.0" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0
236241
default "3.19" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_19

toolchain/toolchain-external/Config.in

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1051,6 +1051,10 @@ choice
10511051
m = ( LINUX_VERSION_CODE >> 8 ) & 0xFF
10521052
p = ( LINUX_VERSION_CODE >> 0 ) & 0xFF
10531053

1054+
config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_2
1055+
bool "4.2.x"
1056+
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2
1057+
10541058
config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_1
10551059
bool "4.1.x"
10561060
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_1

0 commit comments

Comments
 (0)