From f6bb13f62af475cff25445395dfc75e3001b5ccd Mon Sep 17 00:00:00 2001 From: Romain TISSERAND Date: Fri, 24 Jan 2025 16:08:32 +0100 Subject: [PATCH] Prepare support for kernel 6.13 --- package/linux-headers/Config.in.host | 8 ++++++++ toolchain/Config.in | 5 +++++ 2 files changed, 13 insertions(+) diff --git a/package/linux-headers/Config.in.host b/package/linux-headers/Config.in.host index e48ef23505..c7e1f9b35e 100644 --- a/package/linux-headers/Config.in.host +++ b/package/linux-headers/Config.in.host @@ -53,6 +53,10 @@ config BR2_KERNEL_HEADERS_6_12 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_12 select BR2_KERNEL_HEADERS_LATEST +config BR2_KERNEL_HEADERS_6_13 + bool "Linux 6.13.x kernel headers" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_13 + config BR2_KERNEL_HEADERS_VERSION bool "Manually specified Linux version" help @@ -129,6 +133,10 @@ choice If your kernel headers are more recent than the latest version in the choice, then select the latest version. +config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_13 + bool "6.13.x or later" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_13 + config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_12 bool "6.12.x or later" select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_12 diff --git a/toolchain/Config.in b/toolchain/Config.in index 87160af3d7..67880485b5 100644 --- a/toolchain/Config.in +++ b/toolchain/Config.in @@ -666,6 +666,10 @@ config BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_12 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_11 select BR2_TOOLCHAIN_HEADERS_LATEST +config BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_13 + bool + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_12 + # This should be selected by the latest version, above, to indicate that # Buildroot does not know of more recent headers than the ones selected. # This allows using toolchains with headers more recent than Buildroot @@ -677,6 +681,7 @@ config BR2_TOOLCHAIN_HEADERS_LATEST # stops affecting a value on the first matching default. config BR2_TOOLCHAIN_HEADERS_AT_LEAST string + default "6.13" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_13 default "6.12" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_12 default "6.11" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_11 default "6.10" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_10