Skip to contentSkip to conversation

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

PATCH In review Bernd Kuhls 2 participants 3 messages Oct 22

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 {toolchain, linux-headers}: add support for 7.3 headers

---
 linux/7.3                                         |  1 +
 linux/from-6.17/linux.hash                        |  1 +
 package/linux-headers/7.3                         |  1 +
 package/linux-headers/Config.in.host              | 15 ++++++++++++---
 toolchain/Config.in                               |  5 +++++
 .../toolchain-external-custom/Config.in.options   |  6 +++++-
 6 files changed, 25 insertions(+), 4 deletions(-)
 create mode 120000 linux/7.3
 create mode 120000 package/linux-headers/7.3
linux/7.3 new file +1 -0
new file mode 120000
index 0000000000..74e2b2d5b6
@@ -0,0 +1 @@
+from-6.17
\ No newline at end of file
linux/from-6.17/linux.hash +1 -0
index 83d7d04e16..27bd3da1d9 100644
@@ -1,4 +1,5 @@
 # From https://www.kernel.org/pub/linux/kernel/v7.x/sha256sums.asc
+sha256  87363c24f10e06321eb362765521094e94471f6bff8bce2d6b3e40f39f004953  linux-7.3.tar.xz
 sha256  bb18468a8dc8978aa00caa6446e753f7b6da3fee56b6b7f38b16f9430ba02d4f  linux-7.2.12.tar.xz
 
 # From https://www.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc
package/linux-headers/7.3 new file +1 -0
new file mode 120000
index 0000000000..a4e1d3ec9c
@@ -0,0 +1 @@
+../../linux/from-6.17
\ No newline at end of file
package/linux-headers/Config.in.host +12 -3
index 405d278e1e..36d72710a0 100644
@@ -3,7 +3,7 @@ comment "Kernel Header Options"
 choice
 	prompt "Kernel Headers"
 	default BR2_KERNEL_HEADERS_AS_KERNEL if BR2_LINUX_KERNEL
-	default BR2_KERNEL_HEADERS_7_2
+	default BR2_KERNEL_HEADERS_7_3
 	help
 	  Select the kernel version to get headers from.
 
@@ -55,6 +55,10 @@ config BR2_KERNEL_HEADERS_6_18
 config BR2_KERNEL_HEADERS_7_2
 	bool "Linux 7.2.x kernel headers"
 	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_7_2
+
+config BR2_KERNEL_HEADERS_7_3
+	bool "Linux 7.3.x kernel headers"
+	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_7_3
 	select BR2_KERNEL_HEADERS_LATEST
 
 config BR2_KERNEL_HEADERS_VERSION
@@ -131,8 +135,12 @@ 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_7_3
+	bool "7.3.x or later"
+	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_7_3
+
 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_7_2
-	bool "7.2.x or later"
+	bool "7.2.x"
 	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_7_2
 
 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_7_1
@@ -480,7 +488,8 @@ config BR2_DEFAULT_KERNEL_HEADERS
 	default "6.6.160"	if BR2_KERNEL_HEADERS_6_6
 	default "6.12.114"	if BR2_KERNEL_HEADERS_6_12
 	default "6.18.58"	if BR2_KERNEL_HEADERS_6_18
-	default "7.2.12"		if BR2_KERNEL_HEADERS_7_2
+	default "7.2.12"	if BR2_KERNEL_HEADERS_7_2
+	default "7.3"		if BR2_KERNEL_HEADERS_7_3
 	default BR2_DEFAULT_KERNEL_VERSION if BR2_KERNEL_HEADERS_VERSION
 	default "custom"	if BR2_KERNEL_HEADERS_CUSTOM_TARBALL
 	default BR2_KERNEL_HEADERS_CUSTOM_REPO_VERSION \
toolchain/Config.in +5 -0
index 7452d96122..4e6a8d7927 100644
@@ -681,6 +681,10 @@ config BR2_TOOLCHAIN_HEADERS_AT_LEAST_7_1
 config BR2_TOOLCHAIN_HEADERS_AT_LEAST_7_2
 	bool
 	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_7_1
+
+config BR2_TOOLCHAIN_HEADERS_AT_LEAST_7_3
+	bool
+	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_7_2
 	select BR2_TOOLCHAIN_HEADERS_LATEST
 
 # This should be selected by the latest version, above, to indicate that
@@ -694,6 +698,7 @@ config BR2_TOOLCHAIN_HEADERS_LATEST
 # stops affecting a value on the first matching default.
 config BR2_TOOLCHAIN_HEADERS_AT_LEAST
 	string
+	default "7.3" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_7_3
 	default "7.2" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_7_2
 	default "7.1" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_7_1
 	default "7.0" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_7_0
toolchain/toolchain-external/toolchain-external-custom/Config.in.options +5 -1
index 721fd272e0..33171214ff 100644
@@ -178,8 +178,12 @@ choice
 	  If your toolchain uses headers newer than the latest version
 	  in the choice, then select the latest version.
 
+config BR2_TOOLCHAIN_EXTERNAL_HEADERS_7_3
+	bool "7.3.x or later"
+	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_7_3
+
 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_7_2
-	bool "7.2.x or later"
+	bool "7.2.x"
 	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_7_2
 
 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_7_1
Signature · 6 lines
2.47.3

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

PATCH 2/2 linux: bump latest version to 7.3

For an overview of changes in 7.3, see:
https://kernelnewbies.org/Linux_7.3

---
 linux/Config.in | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
linux/Config.in +3 -3
index e0a8bbb457..6a1eed3146 100644
@@ -39,8 +39,8 @@ choice
 	prompt "Kernel version"
 
 config BR2_LINUX_KERNEL_LATEST_VERSION
-	bool "Latest version (7.2)"
-	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_7_2 if BR2_KERNEL_HEADERS_AS_KERNEL
+	bool "Latest version (7.3)"
+	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_7_3 if BR2_KERNEL_HEADERS_AS_KERNEL
 	select BR2_LINUX_KERNEL_LATEST_SERIES
 
 config BR2_LINUX_KERNEL_LATEST_6_18
@@ -182,7 +182,7 @@ config BR2_LINUX_KERNEL_CUSTOM_REPO_GIT_SUBMODULES
 
 config BR2_LINUX_KERNEL_VERSION
 	string
-	default "7.2.12" if BR2_LINUX_KERNEL_LATEST_VERSION
+	default "7.3" if BR2_LINUX_KERNEL_LATEST_VERSION
 	default "6.18.58" if BR2_LINUX_KERNEL_LATEST_6_18
 	default "6.12.114" if BR2_LINUX_KERNEL_LATEST_6_12
 	default "6.6.160" if BR2_LINUX_KERNEL_LATEST_6_6
Signature · 6 lines
2.47.3

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot