Skip to contentSkip to conversation

toolchain: add 4.3.x choice for headers

PATCH New Vicente Olivert Riera 3 participants 7 messages Nov 2, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 toolchain: add 4.3.x choice for headers

---
 toolchain/toolchain-common.in          | 5 +++++
 toolchain/toolchain-external/Config.in | 4 ++++
 2 files changed, 9 insertions(+)
toolchain/toolchain-common.in +5 -0
index 4e880a2..6871d8b 100644
@@ -231,10 +231,15 @@ config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2
 	bool
 	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_1
 
+config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_3
+	bool
+	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2
+
 # 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 "4.3"  if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_3
 	default "4.2"  if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2
 	default "4.1"  if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_1
 	default "4.0"  if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0
toolchain/toolchain-external/Config.in +4 -0
index 4291394..3f6b8e8 100644
@@ -1030,6 +1030,10 @@ choice
 	    m = ( LINUX_VERSION_CODE >> 8  ) & 0xFF
 	    p = ( LINUX_VERSION_CODE >> 0  ) & 0xFF
 
+config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_3
+	bool "4.3.x"
+	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_3
+
 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_2
 	bool "4.2.x"
 	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2
Signature · 1 line
2.4.10
#1 lore raw

PATCH 2/3 linux-headers: add 4.3.x series

---
 package/linux-headers/Config.in.host | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)
package/linux-headers/Config.in.host +10 -1
index 1a8ec69..913cc2a 100644
@@ -5,7 +5,7 @@ comment "Kernel Header Options"
 
 choice
 	prompt "Kernel Headers"
-	default BR2_KERNEL_HEADERS_4_2
+	default BR2_KERNEL_HEADERS_4_3
 	help
 	  Select the version of kernel header files you wish to use.
 	  You must select the correct set of header files to match
@@ -71,6 +71,10 @@ choice
 		bool "Linux 4.2.x kernel headers"
 		select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2
 
+	config BR2_KERNEL_HEADERS_4_3
+		bool "Linux 4.3.x kernel headers"
+		select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_3
+
 	config BR2_KERNEL_HEADERS_VERSION
 		bool "Manually specified Linux version"
 endchoice
@@ -92,6 +96,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_4_3
+	bool "4.3.x"
+	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_3
+
 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_2
 	bool "4.2.x"
 	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2
@@ -203,4 +211,5 @@ config BR2_DEFAULT_KERNEL_HEADERS
 	default "4.0.9"		if BR2_KERNEL_HEADERS_4_0
 	default "4.1.12"	if BR2_KERNEL_HEADERS_4_1
 	default "4.2.5"		if BR2_KERNEL_HEADERS_4_2
+	default "4.3"		if BR2_KERNEL_HEADERS_4_3
 	default BR2_DEFAULT_KERNEL_VERSION if BR2_KERNEL_HEADERS_VERSION
Signature · 1 line
2.4.10
#3 lore raw

PATCH 3/3 linux: bump default version to 4.3

In reply to Vicente Olivert Riera
---
 linux/Config.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
linux/Config.in +2 -2
index 8a66866..12b417a 100644
@@ -21,7 +21,7 @@ choice
 	prompt "Kernel version"
 
 config BR2_LINUX_KERNEL_LATEST_VERSION
-	bool "4.2.5"
+	bool "4.3"
 
 config BR2_LINUX_KERNEL_SAME_AS_HEADERS
 	bool "Same as toolchain kernel headers"
@@ -109,7 +109,7 @@ config BR2_LINUX_KERNEL_CUSTOM_LOCAL_PATH
 
 config BR2_LINUX_KERNEL_VERSION
 	string
-	default "4.2.5" if BR2_LINUX_KERNEL_LATEST_VERSION
+	default "4.3" if BR2_LINUX_KERNEL_LATEST_VERSION
 	default BR2_DEFAULT_KERNEL_HEADERS if BR2_LINUX_KERNEL_SAME_AS_HEADERS
 	default BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE \
 		if BR2_LINUX_KERNEL_CUSTOM_VERSION
Signature · 1 line
2.4.10
#6 lore raw

PATCH 1/3 toolchain: add 4.3.x choice for headers

In reply to Vicente Olivert Riera

Dear Vicente Olivert Riera,

Quoted 5 lines · Vicente Olivert Riera
---
 toolchain/toolchain-common.in          | 5 +++++
 toolchain/toolchain-external/Config.in | 4 ++++
 2 files changed, 9 insertions(+)

All three patches applied, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com