{toolchain, linux-headers}: add support for 7.1 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
2026-06-15 22:25:58 +02:00
committed by Julien Olivain
parent 7ee8e9f12a
commit 9530d74ddb
5 changed files with 23 additions and 3 deletions

View File

@@ -1,4 +1,5 @@
# From https://www.kernel.org/pub/linux/kernel/v7.x/sha256sums.asc # From https://www.kernel.org/pub/linux/kernel/v7.x/sha256sums.asc
sha256 691f44797fbe790dc8a321604c927087526ad27b6d649925d60f8eed0a2564a0 linux-7.1.tar.xz
sha256 57edc9a41efc1ca6b797afa8f4a587a30da2af6bca7356eb56e1e1a4ada265da linux-7.0.12.tar.xz sha256 57edc9a41efc1ca6b797afa8f4a587a30da2af6bca7356eb56e1e1a4ada265da linux-7.0.12.tar.xz
# From https://www.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc # From https://www.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc

1
package/linux-headers/7.1 Symbolic link
View File

@@ -0,0 +1 @@
../../linux/from-6.17

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_7_0 default BR2_KERNEL_HEADERS_7_1
help help
Select the kernel version to get headers from. Select the kernel version to get headers from.
@@ -55,6 +55,10 @@ config BR2_KERNEL_HEADERS_6_18
config BR2_KERNEL_HEADERS_7_0 config BR2_KERNEL_HEADERS_7_0
bool "Linux 7.0.x kernel headers" bool "Linux 7.0.x kernel headers"
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_7_0 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_7_0
config BR2_KERNEL_HEADERS_7_1
bool "Linux 7.1.x kernel headers"
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_7_1
select BR2_KERNEL_HEADERS_LATEST select BR2_KERNEL_HEADERS_LATEST
config BR2_KERNEL_HEADERS_VERSION config BR2_KERNEL_HEADERS_VERSION
@@ -133,8 +137,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_7_1
bool "7.1.x or later"
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_7_1
config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_7_0 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_7_0
bool "7.0.x or later" bool "7.0.x"
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_7_0 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_7_0
config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_19 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_19
@@ -475,6 +483,7 @@ config BR2_DEFAULT_KERNEL_HEADERS
default "6.12.93" if BR2_KERNEL_HEADERS_6_12 default "6.12.93" if BR2_KERNEL_HEADERS_6_12
default "6.18.35" if BR2_KERNEL_HEADERS_6_18 default "6.18.35" if BR2_KERNEL_HEADERS_6_18
default "7.0.12" if BR2_KERNEL_HEADERS_7_0 default "7.0.12" if BR2_KERNEL_HEADERS_7_0
default "7.1" if BR2_KERNEL_HEADERS_7_1
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

@@ -680,6 +680,10 @@ config BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_19
config BR2_TOOLCHAIN_HEADERS_AT_LEAST_7_0 config BR2_TOOLCHAIN_HEADERS_AT_LEAST_7_0
bool bool
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_19 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_19
config BR2_TOOLCHAIN_HEADERS_AT_LEAST_7_1
bool
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_7_0
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
@@ -693,6 +697,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 "7.1" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_7_1
default "7.0" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_7_0 default "7.0" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_7_0
default "6.19" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_19 default "6.19" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_19
default "6.18" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_18 default "6.18" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_18

View File

@@ -178,8 +178,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_7_1
bool "7.1.x or later"
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_7_1
config BR2_TOOLCHAIN_EXTERNAL_HEADERS_7_0 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_7_0
bool "7.0.x or later" bool "7.0.x"
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_7_0 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_7_0
config BR2_TOOLCHAIN_EXTERNAL_HEADERS_6_19 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_6_19