All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/linux-headers: add support for Linux 5.1 kernel headers
@ 2019-05-07  9:01 Marcin Niestroj
  2019-05-07 15:42 ` Peter Korsgaard
  0 siblings, 1 reply; 4+ messages in thread
From: Marcin Niestroj @ 2019-05-07  9:01 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
---
 linux/linux.hash                     |  1 +
 package/linux-headers/Config.in.host | 11 ++++++++++-
 2 files changed, 11 insertions(+), 1 deletion(-)

diff --git a/linux/linux.hash b/linux/linux.hash
index 035c324447..3d49ea476a 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 d06a7be6e73f97d1350677ad3bae0ce7daecb79c2c2902aaabe806f7fa94f041  linux-5.1.tar.xz
 sha256 bcfd52bf1faa24f5f712146a873959461e001656ad67717e80b947aa6ad53479  linux-5.0.13.tar.xz
 # From https://www.kernel.org/pub/linux/kernel/v4.x/sha256sums.asc
 sha256 d011245629b980d4c15febf080b54804aaf215167b514a3577feddb2495f8a3e  linux-4.20.17.tar.xz
diff --git a/package/linux-headers/Config.in.host b/package/linux-headers/Config.in.host
index 6c848aa2e2..66366628c5 100644
--- a/package/linux-headers/Config.in.host
+++ b/package/linux-headers/Config.in.host
@@ -6,7 +6,7 @@ config BR2_PACKAGE_HOST_LINUX_HEADERS
 choice
 	prompt "Kernel Headers"
 	default BR2_KERNEL_HEADERS_AS_KERNEL if BR2_LINUX_KERNEL
-	default BR2_KERNEL_HEADERS_5_0
+	default BR2_KERNEL_HEADERS_5_1
 	help
 	  Select the kernel version to get headers from.
 
@@ -53,6 +53,10 @@ config BR2_KERNEL_HEADERS_5_0
 	bool "Linux 5.0.x kernel headers"
 	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0
 
+config BR2_KERNEL_HEADERS_5_1
+	bool "Linux 5.1.x kernel headers"
+	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_1
+
 config BR2_KERNEL_HEADERS_VERSION
 	bool "Manually specified Linux version"
 	help
@@ -118,6 +122,10 @@ choice
 	  This is used to hide/show some packages that have strict
 	  requirements on the version of kernel headers.
 
+config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_1
+	bool "5.1.x"
+	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_1
+
 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_0
 	bool "5.0.x"
 	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0
@@ -299,6 +307,7 @@ config BR2_DEFAULT_KERNEL_HEADERS
 	default "4.19.40"	if BR2_KERNEL_HEADERS_4_19
 	default "4.20.17"	if BR2_KERNEL_HEADERS_4_20
 	default "5.0.13"	if BR2_KERNEL_HEADERS_5_0
+	default "5.1"		if BR2_KERNEL_HEADERS_5_1
 	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 \
-- 
2.21.0

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

* [Buildroot] [PATCH] package/linux-headers: add support for Linux 5.1 kernel headers
  2019-05-07  9:01 [Buildroot] [PATCH] package/linux-headers: add support for Linux 5.1 kernel headers Marcin Niestroj
@ 2019-05-07 15:42 ` Peter Korsgaard
  2019-05-07 15:49   ` Marcin Niestrój
  0 siblings, 1 reply; 4+ messages in thread
From: Peter Korsgaard @ 2019-05-07 15:42 UTC (permalink / raw)
  To: buildroot

>>>>> "Marcin" == Marcin Niestroj <m.niestroj@grinn-global.com> writes:

 > Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
 > ---
 >  linux/linux.hash                     |  1 +
 >  package/linux-headers/Config.in.host | 11 ++++++++++-
 >  2 files changed, 11 insertions(+), 1 deletion(-)

 > diff --git a/linux/linux.hash b/linux/linux.hash
 > index 035c324447..3d49ea476a 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 d06a7be6e73f97d1350677ad3bae0ce7daecb79c2c2902aaabe806f7fa94f041  linux-5.1.tar.xz
 >  sha256 bcfd52bf1faa24f5f712146a873959461e001656ad67717e80b947aa6ad53479  linux-5.0.13.tar.xz
 >  # From https://www.kernel.org/pub/linux/kernel/v4.x/sha256sums.asc
 >  sha256 d011245629b980d4c15febf080b54804aaf215167b514a3577feddb2495f8a3e  linux-4.20.17.tar.xz
 > diff --git a/package/linux-headers/Config.in.host b/package/linux-headers/Config.in.host
 > index 6c848aa2e2..66366628c5 100644
 > --- a/package/linux-headers/Config.in.host
 > +++ b/package/linux-headers/Config.in.host
 > @@ -6,7 +6,7 @@ config BR2_PACKAGE_HOST_LINUX_HEADERS
 >  choice
 >  	prompt "Kernel Headers"
 >  	default BR2_KERNEL_HEADERS_AS_KERNEL if BR2_LINUX_KERNEL
 > -	default BR2_KERNEL_HEADERS_5_0
 > +	default BR2_KERNEL_HEADERS_5_1
 >  	help
 >  	  Select the kernel version to get headers from.
 
 > @@ -53,6 +53,10 @@ config BR2_KERNEL_HEADERS_5_0
 >  	bool "Linux 5.0.x kernel headers"
 >  	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0
 
 > +config BR2_KERNEL_HEADERS_5_1
 > +	bool "Linux 5.1.x kernel headers"
 > +	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_1

You forgot to actually add BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_1 (in
toolchain/Config.in).

-- 
Bye, Peter Korsgaard

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

* [Buildroot] [PATCH] package/linux-headers: add support for Linux 5.1 kernel headers
  2019-05-07 15:42 ` Peter Korsgaard
@ 2019-05-07 15:49   ` Marcin Niestrój
  2019-05-07 17:42     ` Peter Korsgaard
  0 siblings, 1 reply; 4+ messages in thread
From: Marcin Niestrój @ 2019-05-07 15:49 UTC (permalink / raw)
  To: buildroot


Peter Korsgaard <peter@korsgaard.com> writes:

>>>>>> "Marcin" == Marcin Niestroj <m.niestroj@grinn-global.com> writes:
>
>  > Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
>  > ---
>  >  linux/linux.hash                     |  1 +
>  >  package/linux-headers/Config.in.host | 11 ++++++++++-
>  >  2 files changed, 11 insertions(+), 1 deletion(-)
>
>  > diff --git a/linux/linux.hash b/linux/linux.hash
>  > index 035c324447..3d49ea476a 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 d06a7be6e73f97d1350677ad3bae0ce7daecb79c2c2902aaabe806f7fa94f041  linux-5.1.tar.xz
>  >  sha256 bcfd52bf1faa24f5f712146a873959461e001656ad67717e80b947aa6ad53479  linux-5.0.13.tar.xz
>  >  # From https://www.kernel.org/pub/linux/kernel/v4.x/sha256sums.asc
>  >  sha256 d011245629b980d4c15febf080b54804aaf215167b514a3577feddb2495f8a3e  linux-4.20.17.tar.xz
>  > diff --git a/package/linux-headers/Config.in.host b/package/linux-headers/Config.in.host
>  > index 6c848aa2e2..66366628c5 100644
>  > --- a/package/linux-headers/Config.in.host
>  > +++ b/package/linux-headers/Config.in.host
>  > @@ -6,7 +6,7 @@ config BR2_PACKAGE_HOST_LINUX_HEADERS
>  >  choice
>  >  	prompt "Kernel Headers"
>  >  	default BR2_KERNEL_HEADERS_AS_KERNEL if BR2_LINUX_KERNEL
>  > -	default BR2_KERNEL_HEADERS_5_0
>  > +	default BR2_KERNEL_HEADERS_5_1
>  >  	help
>  >  	  Select the kernel version to get headers from.
>  
>  > @@ -53,6 +53,10 @@ config BR2_KERNEL_HEADERS_5_0
>  >  	bool "Linux 5.0.x kernel headers"
>  >  	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0
>  
>  > +config BR2_KERNEL_HEADERS_5_1
>  > +	bool "Linux 5.1.x kernel headers"
>  > +	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_1
>
> You forgot to actually add BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_1 (in
> toolchain/Config.in).

It was already added ~1 month ago with commit
d2500dc581039766b0a767391317aeea13a1474c ("toolchain: add
BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_1").


-- 
Marcin Niestr?j

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

* [Buildroot] [PATCH] package/linux-headers: add support for Linux 5.1 kernel headers
  2019-05-07 15:49   ` Marcin Niestrój
@ 2019-05-07 17:42     ` Peter Korsgaard
  0 siblings, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2019-05-07 17:42 UTC (permalink / raw)
  To: buildroot

>>>>> "Marcin" == Marcin Niestr?j <m.niestroj@grinn-global.com> writes:

 > Peter Korsgaard <peter@korsgaard.com> writes:

 >>>>>>> "Marcin" == Marcin Niestroj <m.niestroj@grinn-global.com> writes:
 >> 
 >> > Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
 >> > ---
 >> >  linux/linux.hash                     |  1 +
 >> >  package/linux-headers/Config.in.host | 11 ++++++++++-
 >> >  2 files changed, 11 insertions(+), 1 deletion(-)
 >> 
 >> > diff --git a/linux/linux.hash b/linux/linux.hash
 >> > index 035c324447..3d49ea476a 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 d06a7be6e73f97d1350677ad3bae0ce7daecb79c2c2902aaabe806f7fa94f041  linux-5.1.tar.xz
 >> >  sha256 bcfd52bf1faa24f5f712146a873959461e001656ad67717e80b947aa6ad53479  linux-5.0.13.tar.xz
 >> >  # From https://www.kernel.org/pub/linux/kernel/v4.x/sha256sums.asc
 >> >  sha256 d011245629b980d4c15febf080b54804aaf215167b514a3577feddb2495f8a3e  linux-4.20.17.tar.xz
 >> > diff --git a/package/linux-headers/Config.in.host b/package/linux-headers/Config.in.host
 >> > index 6c848aa2e2..66366628c5 100644
 >> > --- a/package/linux-headers/Config.in.host
 >> > +++ b/package/linux-headers/Config.in.host
 >> > @@ -6,7 +6,7 @@ config BR2_PACKAGE_HOST_LINUX_HEADERS
 >> >  choice
 >> >  	prompt "Kernel Headers"
 >> >  	default BR2_KERNEL_HEADERS_AS_KERNEL if BR2_LINUX_KERNEL
 >> > -	default BR2_KERNEL_HEADERS_5_0
 >> > +	default BR2_KERNEL_HEADERS_5_1
 >> >  	help
 >> >  	  Select the kernel version to get headers from.
 >> 
 >> > @@ -53,6 +53,10 @@ config BR2_KERNEL_HEADERS_5_0
 >> >  	bool "Linux 5.0.x kernel headers"
 >> >  	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0
 >> 
 >> > +config BR2_KERNEL_HEADERS_5_1
 >> > +	bool "Linux 5.1.x kernel headers"
 >> > +	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_1
 >> 
 >> You forgot to actually add BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_1 (in
 >> toolchain/Config.in).

 > It was already added ~1 month ago with commit
 > d2500dc581039766b0a767391317aeea13a1474c ("toolchain: add
 > BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_1").

Hah, indeed - Sorry ;)

Committed, thanks.

-- 
Bye, Peter Korsgaard

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

end of thread, other threads:[~2019-05-07 17:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-07  9:01 [Buildroot] [PATCH] package/linux-headers: add support for Linux 5.1 kernel headers Marcin Niestroj
2019-05-07 15:42 ` Peter Korsgaard
2019-05-07 15:49   ` Marcin Niestrój
2019-05-07 17:42     ` Peter Korsgaard

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.