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

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

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
Bernd Kuhls
2025-12-07 10:14:08 +01:00
committed by Julien Olivain
parent eb1d45388f
commit 6f311de2de
4 changed files with 22 additions and 3 deletions

View File

@@ -675,6 +675,10 @@ config BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_16
config BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_17
bool
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_16
config BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_18
bool
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_17
select BR2_TOOLCHAIN_HEADERS_LATEST
# This should be selected by the latest version, above, to indicate that
@@ -688,6 +692,7 @@ config BR2_TOOLCHAIN_HEADERS_LATEST
# stops affecting a value on the first matching default.
config BR2_TOOLCHAIN_HEADERS_AT_LEAST
string
default "6.18" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_18
default "6.17" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_17
default "6.16" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_16
default "6.15" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_15

View File

@@ -173,8 +173,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_18
bool "6.18.x or later"
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_18
config BR2_TOOLCHAIN_EXTERNAL_HEADERS_6_17
bool "6.17.x or later"
bool "6.17.x"
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_17
config BR2_TOOLCHAIN_EXTERNAL_HEADERS_6_16