All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Korsgaard <peter@korsgaard.com>
To: buildroot@buildroot.org
Cc: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>,
	Giulio Benetti <giulio.benetti@benettiengineering.com>,
	Romain Naour <romain.naour@gmail.com>,
	Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Subject: [Buildroot] [PATCH 2/4] {toolchain, linux-headers}: add support for 5.17.x headers
Date: Fri, 13 May 2022 16:42:12 +0200	[thread overview]
Message-ID: <20220513144215.2598981-2-peter@korsgaard.com> (raw)
In-Reply-To: <20220513144215.2598981-1-peter@korsgaard.com>

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
 linux/linux.hash                                      |  1 +
 package/linux-headers/Config.in.host                  | 11 ++++++++++-
 toolchain/Config.in                                   |  4 ++++
 .../toolchain-external-custom/Config.in.options       |  6 +++++-
 4 files changed, 20 insertions(+), 2 deletions(-)

diff --git a/linux/linux.hash b/linux/linux.hash
index e6ac7af19d..2a96eef8d3 100644
--- a/linux/linux.hash
+++ b/linux/linux.hash
@@ -1,4 +1,5 @@
 # From https://www.kernel.org/pub/linux/kernel/v5.x/sha256sums.asc
+sha256  22f67ef6b12ef6c0c0353be4b90b4bf4b9b18b858c16c346fa495b67ec718c99  linux-5.17.7.tar.xz
 sha256  d8060dc88f862baaae66b42a2dbc12298ed667c698eb5c55617a7786ee47bf25  linux-5.16.20.tar.xz
 sha256  888641634f9e0e38cd0efcfec92ea3c126d381b24a514740d3fe3dc9988fd7ad  linux-5.15.39.tar.xz
 sha256  f5e417b32f89318b6d0a230109a592ffd68997817463dc4692fa49ec7fe42f71  linux-5.10.115.tar.xz
diff --git a/package/linux-headers/Config.in.host b/package/linux-headers/Config.in.host
index 36af5d0a20..5ff616fb34 100644
--- a/package/linux-headers/Config.in.host
+++ b/package/linux-headers/Config.in.host
@@ -59,6 +59,10 @@ config BR2_KERNEL_HEADERS_5_15
 config BR2_KERNEL_HEADERS_5_16
 	bool "Linux 5.16.x kernel headers"
 	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_16
+
+config BR2_KERNEL_HEADERS_5_17
+	bool "Linux 5.17.x kernel headers"
+	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_17
 	select BR2_KERNEL_HEADERS_LATEST
 
 config BR2_KERNEL_HEADERS_VERSION
@@ -136,8 +140,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_5_17
+	bool "5.17.x or later"
+	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_17
+
 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_16
-	bool "5.16.x or later"
+	bool "5.16.x"
 	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_16
 
 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15
@@ -382,6 +390,7 @@ config BR2_DEFAULT_KERNEL_HEADERS
 	default "5.10.115"	if BR2_KERNEL_HEADERS_5_10
 	default "5.15.39"	if BR2_KERNEL_HEADERS_5_15
 	default "5.16.20"	if BR2_KERNEL_HEADERS_5_16
+	default "5.17.7"	if BR2_KERNEL_HEADERS_5_17
 	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 \
diff --git a/toolchain/Config.in b/toolchain/Config.in
index b572a89f2f..73ea78624a 100644
--- a/toolchain/Config.in
+++ b/toolchain/Config.in
@@ -572,6 +572,10 @@ config BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_15
 config BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_16
 	bool
 	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_15
+
+config BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_17
+	bool
+	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_16
 	select BR2_TOOLCHAIN_HEADERS_LATEST
 
 # This should be selected by the latest version, above, to indicate that
diff --git a/toolchain/toolchain-external/toolchain-external-custom/Config.in.options b/toolchain/toolchain-external/toolchain-external-custom/Config.in.options
index 683204e56e..0c8b83fc0e 100644
--- a/toolchain/toolchain-external/toolchain-external-custom/Config.in.options
+++ b/toolchain/toolchain-external/toolchain-external-custom/Config.in.options
@@ -127,8 +127,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_5_17
+	bool "5.17.x or later"
+	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_17
+
 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_16
-	bool "5.16.x or later"
+	bool "5.16.x"
 	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_16
 
 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_15
-- 
2.30.2

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

  reply	other threads:[~2022-05-13 14:42 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-13 14:42 [Buildroot] [PATCH 1/4] {linux, linux-headers}: bump 4.{9, 14, 19}.x / 5.{4, 10, 15}.x series Peter Korsgaard
2022-05-13 14:42 ` Peter Korsgaard [this message]
2022-05-13 16:32   ` [Buildroot] [PATCH 2/4] {toolchain, linux-headers}: add support for 5.17.x headers Yann E. MORIN
2022-05-13 14:42 ` [Buildroot] [PATCH 3/4] package/linux-headers: drop 5.16.x option Peter Korsgaard
2022-05-13 16:36   ` Yann E. MORIN
2022-05-13 14:42 ` [Buildroot] [PATCH 4/4] {linux,linux-headers}: default to 5.17.x Peter Korsgaard
2022-05-13 16:34   ` [Buildroot] [PATCH 4/4] {linux, linux-headers}: " Yann E. MORIN
2022-05-13 16:55     ` Peter Korsgaard
2022-05-13 20:35       ` Arnout Vandecappelle
2022-05-13 16:32 ` [Buildroot] [PATCH 1/4] {linux, linux-headers}: bump 4.{9, 14, 19}.x / 5.{4, 10, 15}.x series Yann E. MORIN

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220513144215.2598981-2-peter@korsgaard.com \
    --to=peter@korsgaard.com \
    --cc=buildroot@buildroot.org \
    --cc=giulio.benetti@benettiengineering.com \
    --cc=romain.naour@gmail.com \
    --cc=thomas.de_schampheleire@nokia.com \
    --cc=thomas.petazzoni@bootlin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.