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

And add (and default to) 6.16 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-07-28 21:10:28 +02:00
committed by Julien Olivain
parent d08c30697b
commit d9a1352e7d
4 changed files with 22 additions and 3 deletions

View File

@@ -1,4 +1,5 @@
# From https://www.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc # From https://www.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc
sha256 1a4be2fe6b5246aa4ac8987a8a4af34c42a8dd7d08b46ab48516bcc1befbcd83 linux-6.16.tar.xz
sha256 d37e92bc16b962a3025df156647bdad90b2db4ff36c7a6137817fe81ef3f28a6 linux-6.15.8.tar.xz sha256 d37e92bc16b962a3025df156647bdad90b2db4ff36c7a6137817fe81ef3f28a6 linux-6.15.8.tar.xz
sha256 4811af1317f98d2cccea3c7695969a2c03a27cb02fd2d5327032dd5341842933 linux-6.12.40.tar.xz sha256 4811af1317f98d2cccea3c7695969a2c03a27cb02fd2d5327032dd5341842933 linux-6.12.40.tar.xz
sha256 d6c0ec4d55b14814f55b62a0b23a2d95faf66877e48fbfb4b83523e4afdf97ba linux-6.6.100.tar.xz sha256 d6c0ec4d55b14814f55b62a0b23a2d95faf66877e48fbfb4b83523e4afdf97ba linux-6.6.100.tar.xz

View File

@@ -3,7 +3,7 @@ comment "Kernel Header Options"
choice choice
prompt "Kernel Headers" prompt "Kernel Headers"
default BR2_KERNEL_HEADERS_AS_KERNEL if BR2_LINUX_KERNEL default BR2_KERNEL_HEADERS_AS_KERNEL if BR2_LINUX_KERNEL
default BR2_KERNEL_HEADERS_6_15 default BR2_KERNEL_HEADERS_6_16
help help
Select the kernel version to get headers from. Select the kernel version to get headers from.
@@ -51,6 +51,10 @@ config BR2_KERNEL_HEADERS_6_12
config BR2_KERNEL_HEADERS_6_15 config BR2_KERNEL_HEADERS_6_15
bool "Linux 6.15.x kernel headers" bool "Linux 6.15.x kernel headers"
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_15 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_15
config BR2_KERNEL_HEADERS_6_16
bool "Linux 6.16.x kernel headers"
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_16
select BR2_KERNEL_HEADERS_LATEST select BR2_KERNEL_HEADERS_LATEST
config BR2_KERNEL_HEADERS_VERSION config BR2_KERNEL_HEADERS_VERSION
@@ -129,8 +133,12 @@ choice
If your kernel headers are more recent than the latest version If your kernel headers are more recent than the latest version
in the choice, then select the latest version. in the choice, then select the latest version.
config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_16
bool "6.16.x or later"
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_16
config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_15 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_15
bool "6.15.x or later" bool "6.15.x"
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_15 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_15
config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_14 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_14
@@ -451,6 +459,7 @@ config BR2_DEFAULT_KERNEL_HEADERS
default "6.6.100" if BR2_KERNEL_HEADERS_6_6 default "6.6.100" if BR2_KERNEL_HEADERS_6_6
default "6.12.40" if BR2_KERNEL_HEADERS_6_12 default "6.12.40" if BR2_KERNEL_HEADERS_6_12
default "6.15.8" if BR2_KERNEL_HEADERS_6_15 default "6.15.8" if BR2_KERNEL_HEADERS_6_15
default "6.16" if BR2_KERNEL_HEADERS_6_16
default BR2_DEFAULT_KERNEL_VERSION if BR2_KERNEL_HEADERS_VERSION default BR2_DEFAULT_KERNEL_VERSION if BR2_KERNEL_HEADERS_VERSION
default "custom" if BR2_KERNEL_HEADERS_CUSTOM_TARBALL default "custom" if BR2_KERNEL_HEADERS_CUSTOM_TARBALL
default BR2_KERNEL_HEADERS_CUSTOM_REPO_VERSION \ default BR2_KERNEL_HEADERS_CUSTOM_REPO_VERSION \

View File

@@ -657,6 +657,10 @@ config BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_14
config BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_15 config BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_15
bool bool
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_14 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_14
config BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_16
bool
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_15
select BR2_TOOLCHAIN_HEADERS_LATEST select BR2_TOOLCHAIN_HEADERS_LATEST
# This should be selected by the latest version, above, to indicate that # This should be selected by the latest version, above, to indicate that
@@ -670,6 +674,7 @@ config BR2_TOOLCHAIN_HEADERS_LATEST
# stops affecting a value on the first matching default. # stops affecting a value on the first matching default.
config BR2_TOOLCHAIN_HEADERS_AT_LEAST config BR2_TOOLCHAIN_HEADERS_AT_LEAST
string string
default "6.16" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_16
default "6.15" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_15 default "6.15" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_15
default "6.14" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_14 default "6.14" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_14
default "6.13" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_13 default "6.13" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_13

View File

@@ -173,8 +173,12 @@ choice
If your toolchain uses headers newer than the latest version If your toolchain uses headers newer than the latest version
in the choice, then select the latest version. in the choice, then select the latest version.
config BR2_TOOLCHAIN_EXTERNAL_HEADERS_6_16
bool "6.16.x or later"
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_16
config BR2_TOOLCHAIN_EXTERNAL_HEADERS_6_15 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_6_15
bool "6.15.x or later" bool "6.15.x"
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_15 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_15
config BR2_TOOLCHAIN_EXTERNAL_HEADERS_6_14 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_6_14