[2/3] toolchain: Add necessary options to support 5.0 kernel headers
diff mbox series

Message ID 20190319000638.6259-3-joel@jms.id.au
State Changes Requested
Headers show
Series
  • Linux kernel 5.0 support
Related show

Commit Message

Joel Stanley March 19, 2019, 12:06 a.m. UTC
Signed-off-by: Joel Stanley <joel@jms.id.au>
---
 toolchain/Config.in | 5 +++++
 1 file changed, 5 insertions(+)

Comments

Thomas Petazzoni March 19, 2019, 9:23 p.m. UTC | #1
Hello Joel,

On Tue, 19 Mar 2019 10:36:37 +1030
Joel Stanley <joel@jms.id.au> wrote:

> Signed-off-by: Joel Stanley <joel@jms.id.au>
> ---
>  toolchain/Config.in | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/toolchain/Config.in b/toolchain/Config.in
> index bcbc3cf98432..f0bde8fbc870 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_5_0

This patch should come first in your series, because your PATCH 1/3
does this:

+	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0

i.e PATCH 1/3 depends on PATCH 2/3.

Another thing that is missing in your series is another patch to add
the 5.0 kernel header selection to
toolchain/toolchain-external/toolchain-external-custom/Config.in.options.

Could you fix these two issues and resend ?

Thanks a lot!

Thomas

Patch
diff mbox series

diff --git a/toolchain/Config.in b/toolchain/Config.in
index bcbc3cf98432..f0bde8fbc870 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_5_0
+
 # 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