Skip to contentSkip to conversation

toolchain: add BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_1

PATCH New Clément Leger 2 participants 10 messages Apr 4, 2019 – Apr 8, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 toolchain: add BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_1

---
 toolchain/Config.in | 5 +++++
 1 file changed, 5 insertions(+)
toolchain/Config.in +5 -0
index 552220123f..8c5a4fb88e 100644
@@ -404,10 +404,15 @@ config BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0
 	bool
 	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_20
 
+config BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_1
+	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.1"  if BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_1
 	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
Signature · 1 line
2.15.0.276.g89ea799
#1 lore raw

PATCH 2/3 toolchain/toolchain-external-custom: support Linux 5.1

---
 .../toolchain-external/toolchain-external-custom/Config.in.options    | 4 ++++
 1 file changed, 4 insertions(+)
toolchain/toolchain-external/toolchain-external-custom/Config.in.options +4 -0
index 607490260f..cb7095632f 100644
@@ -123,6 +123,10 @@ choice
 	    m = ( LINUX_VERSION_CODE >> 8  ) & 0xFF
 	    p = ( LINUX_VERSION_CODE >> 0  ) & 0xFF
 
+config BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_1
+	bool "5.1.x"
+	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_1
+
 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_0
 	bool "5.0.x"
 	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0
Signature · 1 line
2.15.0.276.g89ea799
#2 lore raw

PATCH 3/3 package/linux-headers: add support for Linux 5.1 kernel headers

---
 .../toolchain-external/toolchain-external-custom/Config.in.options    | 4 ++++
 1 file changed, 4 insertions(+)
toolchain/toolchain-external/toolchain-external-custom/Config.in.options +4 -0
index 607490260f..cb7095632f 100644
@@ -123,6 +123,10 @@ choice
 	    m = ( LINUX_VERSION_CODE >> 8  ) & 0xFF
 	    p = ( LINUX_VERSION_CODE >> 0  ) & 0xFF
 
+config BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_1
+	bool "5.1.x"
+	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_1
+
 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_0
 	bool "5.0.x"
 	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0
Signature · 1 line
2.15.0.276.g89ea799
#3 lore raw

PATCH 3/3 package/linux-headers: add support for Linux 5.1 kernel headers

Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Cl?ment" == Cl?ment Leger <[email protected]> writes:

---
 .../toolchain-external/toolchain-external-custom/Config.in.options    | 4 ++++
 1 file changed, 4 insertions(+)

Ehh, this looks to be a copy of patch 2/3 - Did you send the wrong patch?

Quoted 21 lines
toolchain/toolchain-external/toolchain-external-custom/Config.in.options +4 -0
index 607490260f..cb7095632f 100644
@@ -123,6 +123,10 @@ choice
 	    m = ( LINUX_VERSION_CODE >> 8  ) & 0xFF
 	    p = ( LINUX_VERSION_CODE >> 0  ) & 0xFF
 
+config BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_1
+	bool "5.1.x"
+	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_1
+
 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_0
 	bool "5.0.x"
 	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0
Signature · 5 lines
2.15.0.276.g89ea799
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 1 line
Bye, Peter Korsgaard
#4 lore raw

PATCH 3/3 package/linux-headers: add support for Linux 5.1 kernel headers

Absolutely :/. I will resend it as a separate one if you are ok with that.

Quoted 36 lines
Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Cl?ment" == Cl?ment Leger <[email protected]> writes:

---
 .../toolchain-external/toolchain-external-custom/Config.in.options    | 4 ++++
 1 file changed, 4 insertions(+)

Ehh, this looks to be a copy of patch 2/3 - Did you send the wrong patch?

Quoted 18 lines

diff --git a/toolchain/toolchain-external/toolchain-external-custom/Config.in.options b/toolchain/toolchain-external/toolchain-external-custom/Config.in.options index 607490260f..cb7095632f 100644

toolchain/toolchain-external/toolchain-external-custom/Config.in.options +4 -1
@@ -123,6 +123,10 @@ choice
 	    m = ( LINUX_VERSION_CODE >> 8  ) & 0xFF
 	    p = ( LINUX_VERSION_CODE >> 0  ) & 0xFF
 
+config BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_1
+	bool "5.1.x"
+	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_1
+
 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_0
 	bool "5.0.x"
 	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0
--
Quoted 5 lines

2.15.0.276.g89ea799
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

--
Bye, Peter Korsgaard

#5 lore raw

PATCH 3/3 package/linux-headers: add support for Linux 5.1 kernel headers

Quoted 3 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Cl?ment" == Cl?ment Leger <[email protected]> writes:

Absolutely :/. I will resend it as a separate one if you are ok with that.

Yes, please - But as 5.1 has not been released yet, I'm not sure what exactly you want to update in linux-headers? Just the BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_1 symbol?

Signature · 1 line
Bye, Peter Korsgaard
#6 lore raw

PATCH 3/3 package/linux-headers: add support for Linux 5.1 kernel headers

Yes, that was the intended modification.
But it can probably wait for the 5.1 release if needed.

Quoted 10 lines
Quoted 3 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Cl?ment" == Cl?ment Leger <[email protected]> writes:

Absolutely :/. I will resend it as a separate one if you are ok with that.

Yes, please - But as 5.1 has not been released yet, I'm not sure what exactly you want to update in linux-headers? Just the BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_1 symbol?

--
Bye, Peter Korsgaard

#7 lore raw

PATCH 3/3 package/linux-headers: add support for Linux 5.1 kernel headers

Quoted 4 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Cl?ment" == Cl?ment Leger <[email protected]> writes:

Yes, that was the intended modification.
But it can probably wait for the 5.1 release if needed.

Up to you. Either send a patch now just for _CUSTOM_5_1 and then another once 5.1 is released or wait.

When we add 5.1 I think it makes sense to remove 4.20 as it is now EOL.

Signature · 1 line
Bye, Peter Korsgaard