Skip to contentSkip to conversation

toolchain: add 3.15 choice for headers

PATCH New Gustavo Zacarias 2 participants 4 messages Jun 9, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 toolchain: add 3.15 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 1573e00..6720c7d 100644
@@ -180,10 +180,15 @@ config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14
 	bool
 	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13
 
+config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15
+	bool
+	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15
+
 # 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 "3.15" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15
 	default "3.14" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14
 	default "3.13" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13
 	default "3.12" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
toolchain/toolchain-external/Config.in +4 -0
index f4a5ccf..aa21f22 100644
@@ -1018,6 +1018,10 @@ choice
 	    m = ( LINUX_VERSION_CODE >> 8  ) & 0xFF
 	    p = ( LINUX_VERSION_CODE >> 0  ) & 0xFF
 
+config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_15
+	bool "3.15.x"
+	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15
+
 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_14
 	bool "3.14.x"
 	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14
Signature · 1 line
1.8.5.5
#1 lore raw

PATCH 2/3 linux-headers: add 3.15.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 d22b1ce..8b55954 100644
@@ -5,7 +5,7 @@ comment "Kernel Header Options"
 
 choice
 	prompt "Kernel Headers"
-	default BR2_KERNEL_HEADERS_3_14
+	default BR2_KERNEL_HEADERS_3_15
 	help
 	  Select the version of kernel header files you wish to use.
 	  You must select the correct set of header files to match
@@ -56,6 +56,10 @@ choice
 		bool "Linux 3.14.x kernel headers"
 		select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14
 
+	config BR2_KERNEL_HEADERS_3_15
+		bool "Linux 3.15.x kernel headers"
+		select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15
+
 	config BR2_KERNEL_HEADERS_VERSION
 		bool "Manually specified Linux version"
 endchoice
@@ -77,6 +81,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_3_15
+	bool "3.15.x"
+	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15
+
 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_14
 	bool "3.14.x"
 	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14
@@ -154,4 +162,5 @@ config BR2_DEFAULT_KERNEL_HEADERS
 	default "3.12.21"	if BR2_KERNEL_HEADERS_3_12
 	default "3.13.11"	if BR2_KERNEL_HEADERS_3_13
 	default "3.14.6"	if BR2_KERNEL_HEADERS_3_14
+	default "3.15"		if BR2_KERNEL_HEADERS_3_15
 	default BR2_DEFAULT_KERNEL_VERSION if BR2_KERNEL_HEADERS_VERSION
Signature · 1 line
1.8.5.5
#2 lore raw

PATCH 3/3 linux: bump default to version 3.15

In reply to Gustavo Zacarias
---
 linux/Config.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
linux/Config.in +2 -2
index 80f4e8b..73af0bf 100644
@@ -21,7 +21,7 @@ choice
 	prompt "Kernel version"
 
 config BR2_LINUX_KERNEL_LATEST_VERSION
-	bool "3.14.6"
+	bool "3.15"
 
 config BR2_LINUX_KERNEL_SAME_AS_HEADERS
 	bool "Same as toolchain kernel headers"
@@ -104,7 +104,7 @@ config BR2_LINUX_KERNEL_CUSTOM_LOCAL_PATH
 
 config BR2_LINUX_KERNEL_VERSION
 	string
-	default "3.14.6" if BR2_LINUX_KERNEL_LATEST_VERSION
+	default "3.15" 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
1.8.5.5
#3 lore raw

PATCH 1/3 toolchain: add 3.15 choice for headers

In reply to Gustavo Zacarias

Dear Gustavo Zacarias,

toolchain/toolchain-common.in config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14 · line 185

Quoted 3 lines · Gustavo Zacarias
toolchain/toolchain-common.in +3 -0
+config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15
+	bool
+	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15

This should have been:

select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14

Other than that, I've applied your three patches to update to Linux 3.15.

Thanks!

Thomas

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