diff mbox series

[1/3] toolchain: add necessary options to support 5.0 kernel headers

Message ID 20190401123051.19455-1-shyam.saini@amarulasolutions.com
State Not Applicable
Headers show
Series [1/3] toolchain: add necessary options to support 5.0 kernel headers | expand

Commit Message

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

Comments

Thomas Petazzoni April 1, 2019, 1:02 p.m. UTC | #1
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
Shyam Saini April 1, 2019, 1:58 p.m. UTC | #2
>
> 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
diff mbox series

Patch

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