Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/linux-headers: drop 5.10.x & 5.15.x options
@ 2026-12-05  9:13 Bernd Kuhls
  2026-12-05 10:07 ` Peter Korsgaard
  0 siblings, 1 reply; 2+ messages in thread
From: Bernd Kuhls @ 2026-12-05  9:13 UTC (permalink / raw)
  To: buildroot; +Cc: José Luis Salvador Rufo, Kilian Zinnecker

The 5.10.x & 5.15.x series are now EOL upstream [1], so drop the
linux-headers options and add legacy handling for them.

[1] https://git.kernel.org/pub/scm/docs/kernel/website.git/commit/?id=88ab2aae5c0a747cc7cc5277466a24a99368e3d1

Bump kernel version in test_zfs.py & configs/avnet_rzboard_v2l.

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
Gitlab pipelines passed test_zfs test:
https://gitlab.com/bkuhls/buildroot/-/commits/36d845b6cd4088039fd70894eb652adf74f7d95a

 Config.in.legacy                          | 14 ++++++++++++++
 configs/avnet_rzboard_v2l_defconfig       |  2 +-
 linux/5.10.276                            |  1 -
 linux/5.15.227                            |  1 -
 linux/before-6.17/linux.hash              |  3 ---
 package/linux-headers/5.10.276            |  1 -
 package/linux-headers/5.15.227            |  1 -
 package/linux-headers/Config.in.host      | 14 --------------
 support/testing/tests/package/test_zfs.py |  2 +-
 9 files changed, 16 insertions(+), 23 deletions(-)
 delete mode 120000 linux/5.10.276
 delete mode 120000 linux/5.15.227
 delete mode 120000 package/linux-headers/5.10.276
 delete mode 120000 package/linux-headers/5.15.227

diff --git a/Config.in.legacy b/Config.in.legacy
index b3d384ea01..195c26ecc3 100644
--- a/Config.in.legacy
+++ b/Config.in.legacy
@@ -146,6 +146,20 @@ endif
 
 comment "Legacy options removed in 2027.02"
 
+config BR2_KERNEL_HEADERS_5_15
+	bool "kernel headers version 5.15.x are no longer supported"
+	select BR2_LEGACY
+	help
+	  Version 5.15.x of the Linux kernel headers are no longer
+	  maintained upstream and are now removed.
+
+config BR2_KERNEL_HEADERS_5_10
+	bool "kernel headers version 5.10.x are no longer supported"
+	select BR2_LEGACY
+	help
+	  Version 5.10.x of the Linux kernel headers are no longer
+	  maintained upstream and are now removed.
+
 config BR2_PACKAGE_GST1_VAAPI
 	bool "gst1-vaapi has been removed"
 	select BR2_LEGACY
diff --git a/configs/avnet_rzboard_v2l_defconfig b/configs/avnet_rzboard_v2l_defconfig
index 69c5ebf293..cb7cdcef1d 100644
--- a/configs/avnet_rzboard_v2l_defconfig
+++ b/configs/avnet_rzboard_v2l_defconfig
@@ -1,5 +1,5 @@
 BR2_cortex_a55=y
-BR2_KERNEL_HEADERS_5_10=y
+BR2_KERNEL_HEADERS_6_1=y
 BR2_TARGET_GENERIC_HOSTNAME="rzboard_v2l"
 BR2_TARGET_GENERIC_ISSUE="Welcome to the AVNET RZBoard V2L"
 BR2_ROOTFS_POST_IMAGE_SCRIPT="board/avnet/rzboard_v2l/post-image.sh"
diff --git a/linux/5.10.276 b/linux/5.10.276
deleted file mode 120000
index 108006b730..0000000000
--- a/linux/5.10.276
+++ /dev/null
@@ -1 +0,0 @@
-before-6.17
\ No newline at end of file
diff --git a/linux/5.15.227 b/linux/5.15.227
deleted file mode 120000
index 108006b730..0000000000
--- a/linux/5.15.227
+++ /dev/null
@@ -1 +0,0 @@
-before-6.17
\ No newline at end of file
diff --git a/linux/before-6.17/linux.hash b/linux/before-6.17/linux.hash
index 900904e916..452493471c 100644
--- a/linux/before-6.17/linux.hash
+++ b/linux/before-6.17/linux.hash
@@ -2,9 +2,6 @@
 sha256  00cef364529fbbb19aa0b69b28292af615d60d395caff411c76c753e3292ac24  linux-6.12.120.tar.xz
 sha256  08ca57ee614714958ffc6aa6451e34fb96fc398001e7e16ff7fc6dbfccb94688  linux-6.6.163.tar.xz
 sha256  e47276bbbc8aa191c5421ff2f6e0da87e25073042bc242e4afb1e53ab4ddcd80  linux-6.1.193.tar.xz
-# From https://www.kernel.org/pub/linux/kernel/v5.x/sha256sums.asc
-sha256  e866c524090e8d268eb49431f747ed561ef7fa27030073f40c4bf2e6bc9bd5fe  linux-5.15.227.tar.xz
-sha256  88e0af5eeeec234f53cb45f61fa61e2592f8224be8cdf919ec8cc6b53068e10a  linux-5.10.276.tar.xz
 # Locally computed
 sha256  c4c21ee6722dd5d6a199099e5e68e2f0ef002c34e6e23ac0aa7ce92ba7710a8d  linux-cip-6.12.114-cip34.tar.gz
 
diff --git a/package/linux-headers/5.10.276 b/package/linux-headers/5.10.276
deleted file mode 120000
index 6bdea03c2e..0000000000
--- a/package/linux-headers/5.10.276
+++ /dev/null
@@ -1 +0,0 @@
-../../linux/before-6.17
\ No newline at end of file
diff --git a/package/linux-headers/5.15.227 b/package/linux-headers/5.15.227
deleted file mode 120000
index 6bdea03c2e..0000000000
--- a/package/linux-headers/5.15.227
+++ /dev/null
@@ -1 +0,0 @@
-../../linux/before-6.17
\ No newline at end of file
diff --git a/package/linux-headers/Config.in.host b/package/linux-headers/Config.in.host
index e8cfd7b188..ee40c95208 100644
--- a/package/linux-headers/Config.in.host
+++ b/package/linux-headers/Config.in.host
@@ -24,18 +24,6 @@ config BR2_KERNEL_HEADERS_AS_KERNEL
 	depends on BR2_LINUX_KERNEL
 	select BR2_KERNEL_HEADERS_LATEST if BR2_LINUX_KERNEL_LATEST_VERSION
 
-config BR2_KERNEL_HEADERS_5_10
-	bool "Linux 5.10.x kernel headers"
-	# Support was introduced in Linux 5.19
-	depends on !BR2_loongarch64
-	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_10
-
-config BR2_KERNEL_HEADERS_5_15
-	bool "Linux 5.15.x kernel headers"
-	# Support was introduced in Linux 5.19
-	depends on !BR2_loongarch64
-	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_15
-
 config BR2_KERNEL_HEADERS_6_1
 	bool "Linux 6.1.x kernel headers"
 	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_1
@@ -478,8 +466,6 @@ endchoice
 
 config BR2_DEFAULT_KERNEL_HEADERS
 	string
-	default "5.10.276"	if BR2_KERNEL_HEADERS_5_10
-	default "5.15.227"	if BR2_KERNEL_HEADERS_5_15
 	default "6.1.193"	if BR2_KERNEL_HEADERS_6_1
 	default "6.6.163"	if BR2_KERNEL_HEADERS_6_6
 	default "6.12.120"	if BR2_KERNEL_HEADERS_6_12
diff --git a/support/testing/tests/package/test_zfs.py b/support/testing/tests/package/test_zfs.py
index ba9c8d3e90..678eea12f7 100644
--- a/support/testing/tests/package/test_zfs.py
+++ b/support/testing/tests/package/test_zfs.py
@@ -83,7 +83,7 @@ class TestZfsUclibc(TestZfsBase):
     config = config.replace('BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y\n', '') + \
         """
         BR2_TOOLCHAIN_BUILDROOT_UCLIBC=y
-        BR2_KERNEL_HEADERS_5_10=y
+        BR2_KERNEL_HEADERS_6_1=y
         BR2_TOOLCHAIN_BUILDROOT_LOCALE=y
         BR2_PTHREAD_DEBUG=y
         BR2_TOOLCHAIN_BUILDROOT_CXX=y
-- 
2.53.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-12-05 10:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-05  9:13 [Buildroot] [PATCH 1/1] package/linux-headers: drop 5.10.x & 5.15.x options Bernd Kuhls
2026-12-05 10:07 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox