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

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

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Bernd Kuhls
2024-07-25 21:49:59 +02:00
committed by Thomas Petazzoni
parent b5e2f8287a
commit 92a1e80ba4
4 changed files with 22 additions and 3 deletions

View File

@@ -652,6 +652,10 @@ config BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_8
config BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_9
bool
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_8
config BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_10
bool
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_9
select BR2_TOOLCHAIN_HEADERS_LATEST
# This should be selected by the latest version, above, to indicate that
@@ -665,6 +669,7 @@ config BR2_TOOLCHAIN_HEADERS_LATEST
# stops affecting a value on the first matching default.
config BR2_TOOLCHAIN_HEADERS_AT_LEAST
string
default "6.10" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_10
default "6.9" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_9
default "6.8" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_8
default "6.7" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_7

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_10
bool "6.10.x or later"
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_10
config BR2_TOOLCHAIN_EXTERNAL_HEADERS_6_9
bool "6.9.x or later"
bool "6.9.x"
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_9
config BR2_TOOLCHAIN_EXTERNAL_HEADERS_6_8