{linux, linux-headers}: add version 5.16

Signed-off-by: Michael Walle <michael@walle.cc>
[Peter: Keep default at 5.15.x for 2022.02]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Michael Walle
2022-01-10 10:50:39 +01:00
committed by Peter Korsgaard
parent bb104bc077
commit 85459426d9
4 changed files with 21 additions and 2 deletions

View File

@@ -1,4 +1,5 @@
# From https://www.kernel.org/pub/linux/kernel/v5.x/sha256sums.asc # From https://www.kernel.org/pub/linux/kernel/v5.x/sha256sums.asc
sha256 027d7e8988bb69ac12ee92406c3be1fe13f990b1ca2249e226225cd1573308bb linux-5.16.tar.xz
sha256 b3e9ba06a299a3e2ead4a15753bc46a3e0c90d3b92ffeed1034ccc9f13a717f0 linux-5.15.6.tar.xz sha256 b3e9ba06a299a3e2ead4a15753bc46a3e0c90d3b92ffeed1034ccc9f13a717f0 linux-5.15.6.tar.xz
sha256 f41a259cb2002dd2e3286524b2bb4e803f4f982992d092706ecea613584023b3 linux-5.14.21.tar.xz sha256 f41a259cb2002dd2e3286524b2bb4e803f4f982992d092706ecea613584023b3 linux-5.14.21.tar.xz
sha256 ef259a43f33ddb56001283f4f4e50af29b8a48fa066aed7371a90ebf38c29b70 linux-5.10.83.tar.xz sha256 ef259a43f33ddb56001283f4f4e50af29b8a48fa066aed7371a90ebf38c29b70 linux-5.10.83.tar.xz

View File

@@ -65,6 +65,10 @@ config BR2_KERNEL_HEADERS_5_14
config BR2_KERNEL_HEADERS_5_15 config BR2_KERNEL_HEADERS_5_15
bool "Linux 5.15.x kernel headers" bool "Linux 5.15.x kernel headers"
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_15 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_15
config BR2_KERNEL_HEADERS_5_16
bool "Linux 5.16.x kernel headers"
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_16
select BR2_KERNEL_HEADERS_LATEST select BR2_KERNEL_HEADERS_LATEST
config BR2_KERNEL_HEADERS_VERSION config BR2_KERNEL_HEADERS_VERSION
@@ -139,8 +143,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_5_16
bool "5.16.x or later"
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_16
config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15
bool "5.15.x or later" bool "5.15.x"
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_15 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_15
config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_14 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_14
@@ -382,6 +390,7 @@ config BR2_DEFAULT_KERNEL_HEADERS
default "5.10.83" if BR2_KERNEL_HEADERS_5_10 default "5.10.83" if BR2_KERNEL_HEADERS_5_10
default "5.14.21" if BR2_KERNEL_HEADERS_5_14 default "5.14.21" if BR2_KERNEL_HEADERS_5_14
default "5.15.6" if BR2_KERNEL_HEADERS_5_15 default "5.15.6" if BR2_KERNEL_HEADERS_5_15
default "5.16" if BR2_KERNEL_HEADERS_5_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

@@ -566,6 +566,10 @@ config BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_14
config BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_15 config BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_15
bool bool
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_14 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_14
config BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_16
bool
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_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
@@ -579,6 +583,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 "5.16" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_16
default "5.15" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_15 default "5.15" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_15
default "5.14" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_14 default "5.14" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_14
default "5.13" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_13 default "5.13" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_13

View File

@@ -123,8 +123,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_5_16
bool "5.16.x or later"
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_16
config BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_15 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_15
bool "5.15.x or later" bool "5.15.x"
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_15 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_15
config BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_14 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_14