{toolchain, linux-headers}: add support for 6.12 headers

And add (and default to) 6.12 to linux-headers.

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
Signed-off-by: Romain Naour <romain.naour@smile.fr>
This commit is contained in:
Sergey Matyukevich
2024-12-09 00:46:17 +03:00
committed by Romain Naour
parent 5144d2d7ae
commit 8ad137d762
4 changed files with 22 additions and 3 deletions

View File

@@ -660,6 +660,10 @@ config BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_10
config BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_11
bool
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_10
config BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_12
bool
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_11
select BR2_TOOLCHAIN_HEADERS_LATEST
# This should be selected by the latest version, above, to indicate that
@@ -673,6 +677,7 @@ config BR2_TOOLCHAIN_HEADERS_LATEST
# stops affecting a value on the first matching default.
config BR2_TOOLCHAIN_HEADERS_AT_LEAST
string
default "6.12" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_12
default "6.11" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_11
default "6.10" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_10
default "6.9" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_9

View File

@@ -166,8 +166,12 @@ choice
If your toolchain uses headers newer than the latest version
in the choice, then select the latest version.
config BR2_TOOLCHAIN_EXTERNAL_HEADERS_6_12
bool "6.12.x or later"
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_12
config BR2_TOOLCHAIN_EXTERNAL_HEADERS_6_11
bool "6.11.x or later"
bool "6.11.x"
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_11
config BR2_TOOLCHAIN_EXTERNAL_HEADERS_6_10