All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/3] toolchain: add necessary options to support 5.0 kernel headers
@ 2019-04-01 12:30 Shyam Saini
  2019-04-01 12:30 ` [Buildroot] [PATCH 2/3] package/linux-headers: add support for Linux " Shyam Saini
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Shyam Saini @ 2019-04-01 12:30 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Shyam Saini <shyam.saini@amarulasolutions.com>
---
 toolchain/Config.in | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/toolchain/Config.in b/toolchain/Config.in
index bcbc3cf984..ebd908f254 100644
--- a/toolchain/Config.in
+++ b/toolchain/Config.in
@@ -397,10 +397,15 @@ config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_20
 	bool
 	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_19
 
+config BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0
+	bool
+	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_20
+
 # This order guarantees that the highest version is set, as kconfig
 # stops affecting a value on the first matching default.
 config BR2_TOOLCHAIN_HEADERS_AT_LEAST
 	string
+	default "5.0" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0
 	default "4.20" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_20
 	default "4.19" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_19
 	default "4.18" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_18
-- 
2.11.0

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

* [Buildroot] [PATCH 2/3] package/linux-headers: add support for Linux 5.0 kernel headers
  2019-04-01 12:30 [Buildroot] [PATCH 1/3] toolchain: add necessary options to support 5.0 kernel headers Shyam Saini
@ 2019-04-01 12:30 ` Shyam Saini
  2019-04-01 12:30 ` [Buildroot] [PATCH 3/3] toolchain: toolchain-external : support " Shyam Saini
  2019-04-01 13:02 ` [Buildroot] [PATCH 1/3] toolchain: add necessary options to support " Thomas Petazzoni
  2 siblings, 0 replies; 5+ messages in thread
From: Shyam Saini @ 2019-04-01 12:30 UTC (permalink / raw)
  To: buildroot

As package/linux-headers/linux-headers.hash is a symlink to
linux/linux.hash so update the same in this commit.

Signed-off-by: Shyam Saini <shyam.saini@amarulasolutions.com>
---
 linux/linux.hash                     | 3 +++
 package/linux-headers/Config.in.host | 9 +++++++++
 2 files changed, 12 insertions(+)

diff --git a/linux/linux.hash b/linux/linux.hash
index d7ddd1c877..bd6444518c 100644
--- a/linux/linux.hash
+++ b/linux/linux.hash
@@ -4,3 +4,6 @@ sha256 7ec71d90d6e96e6f741676d157ac06f30c75be4eaf1649143a3c8b7d4f919731  linux-4
 sha256 7aa43e34e4c9e5965da29cef5ae196e06006f8c0d1d65fd755a2f197f0796a11  linux-4.14.103.tar.xz
 sha256 c09af067af62d299f5e33c279968de58c88fb7c59bd05e8f3bb460f611f60515  linux-4.9.160.tar.xz
 sha256 27da5401aa691762f3361c143f453877f499c02ea6c9c743b09538cb1af1c75d  linux-4.4.176.tar.xz
+
+# From https://mirrors.edge.kernel.org/pub/linux/kernel/v5.x/sha256sums.asc
+sha256 437b141a6499159f5a7282d5eb4b2be055f8e862ccce44d7464e8759c31a2e43  linux-5.0.tar.xz
diff --git a/package/linux-headers/Config.in.host b/package/linux-headers/Config.in.host
index 15574689fa..61b162c5c8 100644
--- a/package/linux-headers/Config.in.host
+++ b/package/linux-headers/Config.in.host
@@ -51,6 +51,10 @@ config BR2_KERNEL_HEADERS_4_20
 	bool "Linux 4.20.x kernel headers"
 	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_20
 
+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_VERSION
 	bool "Manually specified Linux version"
 	help
@@ -116,6 +120,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_0
+	bool "5.0"
+	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0
+
 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_20
 	bool "4.20.x"
 	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_20
@@ -292,6 +300,7 @@ config BR2_DEFAULT_KERNEL_HEADERS
 	default "4.14.103"	if BR2_KERNEL_HEADERS_4_14
 	default "4.19.25"	if BR2_KERNEL_HEADERS_4_19
 	default "4.20.12"	if BR2_KERNEL_HEADERS_4_20
+	default "5.0"		if BR2_KERNEL_HEADERS_5_0
 	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.11.0

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

* [Buildroot] [PATCH 3/3] toolchain: toolchain-external : support Linux 5.0 kernel headers
  2019-04-01 12:30 [Buildroot] [PATCH 1/3] toolchain: add necessary options to support 5.0 kernel headers Shyam Saini
  2019-04-01 12:30 ` [Buildroot] [PATCH 2/3] package/linux-headers: add support for Linux " Shyam Saini
@ 2019-04-01 12:30 ` Shyam Saini
  2019-04-01 13:02 ` [Buildroot] [PATCH 1/3] toolchain: add necessary options to support " Thomas Petazzoni
  2 siblings, 0 replies; 5+ messages in thread
From: Shyam Saini @ 2019-04-01 12:30 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Shyam Saini <shyam.saini@amarulasolutions.com>
---
 .../toolchain-external/toolchain-external-custom/Config.in.options    | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/toolchain/toolchain-external/toolchain-external-custom/Config.in.options b/toolchain/toolchain-external/toolchain-external-custom/Config.in.options
index 08a79ee4d9..4f355bb454 100644
--- a/toolchain/toolchain-external/toolchain-external-custom/Config.in.options
+++ b/toolchain/toolchain-external/toolchain-external-custom/Config.in.options
@@ -123,6 +123,10 @@ choice
 	    m = ( LINUX_VERSION_CODE >> 8  ) & 0xFF
 	    p = ( LINUX_VERSION_CODE >> 0  ) & 0xFF
 
+config BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_0
+	bool "5.0.x"
+	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0
+
 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_20
 	bool "4.20.x"
 	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_20
-- 
2.11.0

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

* [Buildroot] [PATCH 1/3] toolchain: add necessary options to support 5.0 kernel headers
  2019-04-01 12:30 [Buildroot] [PATCH 1/3] toolchain: add necessary options to support 5.0 kernel headers Shyam Saini
  2019-04-01 12:30 ` [Buildroot] [PATCH 2/3] package/linux-headers: add support for Linux " Shyam Saini
  2019-04-01 12:30 ` [Buildroot] [PATCH 3/3] toolchain: toolchain-external : support " Shyam Saini
@ 2019-04-01 13:02 ` Thomas Petazzoni
  2019-04-01 13:58   ` Shyam Saini
  2 siblings, 1 reply; 5+ messages in thread
From: Thomas Petazzoni @ 2019-04-01 13:02 UTC (permalink / raw)
  To: buildroot

Hello,

On Mon,  1 Apr 2019 18:00:49 +0530
Shyam Saini <shyam.saini@amarulasolutions.com> wrote:

> Signed-off-by: Shyam Saini <shyam.saini@amarulasolutions.com>
> ---
>  toolchain/Config.in | 5 +++++
>  1 file changed, 5 insertions(+)

5.0 headers are already supported in Buildroot, see:

  https://git.buildroot.org/buildroot/commit/toolchain?id=3385946b7ab709cc89aeee67195fb3bdd2422145

and related patches.

Make sure to rebase your patches on the latest master before sending
them, you would have noticed that this was already implemented.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

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

* [Buildroot] [PATCH 1/3] toolchain: add necessary options to support 5.0 kernel headers
  2019-04-01 13:02 ` [Buildroot] [PATCH 1/3] toolchain: add necessary options to support " Thomas Petazzoni
@ 2019-04-01 13:58   ` Shyam Saini
  0 siblings, 0 replies; 5+ messages in thread
From: Shyam Saini @ 2019-04-01 13:58 UTC (permalink / raw)
  To: buildroot

>
> Hello,

Hi Thomas,

> On Mon,  1 Apr 2019 18:00:49 +0530
> Shyam Saini <shyam.saini@amarulasolutions.com> wrote:
>
> > Signed-off-by: Shyam Saini <shyam.saini@amarulasolutions.com>
> > ---
> >  toolchain/Config.in | 5 +++++
> >  1 file changed, 5 insertions(+)
>
> 5.0 headers are already supported in Buildroot, see:
>
>   https://git.buildroot.org/buildroot/commit/toolchain?id=3385946b7ab709cc89aeee67195fb3bdd2422145
>
> and related patches.
>
> Make sure to rebase your patches on the latest master before sending
> them, you would have noticed that this was already implemented.

Sorry, I missed these updates though I'm subscribed to mailing list.

will take care about this next time.

Thanks

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

end of thread, other threads:[~2019-04-01 13:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-01 12:30 [Buildroot] [PATCH 1/3] toolchain: add necessary options to support 5.0 kernel headers Shyam Saini
2019-04-01 12:30 ` [Buildroot] [PATCH 2/3] package/linux-headers: add support for Linux " Shyam Saini
2019-04-01 12:30 ` [Buildroot] [PATCH 3/3] toolchain: toolchain-external : support " Shyam Saini
2019-04-01 13:02 ` [Buildroot] [PATCH 1/3] toolchain: add necessary options to support " Thomas Petazzoni
2019-04-01 13:58   ` Shyam Saini

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.