* [Buildroot] [PATCH 1/3] toolchain: add 4.0.x choice for headers
@ 2015-04-13 13:00 Gustavo Zacarias
2015-04-13 13:00 ` [Buildroot] [PATCH 2/3] linux-headers: add 4.0.x series Gustavo Zacarias
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Gustavo Zacarias @ 2015-04-13 13:00 UTC (permalink / raw)
To: buildroot
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
toolchain/toolchain-common.in | 5 +++++
toolchain/toolchain-external/Config.in | 4 ++++
2 files changed, 9 insertions(+)
diff --git a/toolchain/toolchain-common.in b/toolchain/toolchain-common.in
index 478315b..d50c908 100644
--- a/toolchain/toolchain-common.in
+++ b/toolchain/toolchain-common.in
@@ -219,10 +219,15 @@ config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_19
bool
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18
+config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0
+ bool
+ select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_19
+
# 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.0" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0
default "3.19" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_19
default "3.18" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18
default "3.17" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17
diff --git a/toolchain/toolchain-external/Config.in b/toolchain/toolchain-external/Config.in
index 97619d4..d2b99cc 100644
--- a/toolchain/toolchain-external/Config.in
+++ b/toolchain/toolchain-external/Config.in
@@ -977,6 +977,10 @@ choice
m = ( LINUX_VERSION_CODE >> 8 ) & 0xFF
p = ( LINUX_VERSION_CODE >> 0 ) & 0xFF
+config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_0
+ bool "4.0.x"
+ select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0
+
config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_19
bool "3.19.x"
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_19
--
2.0.5
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH 2/3] linux-headers: add 4.0.x series
2015-04-13 13:00 [Buildroot] [PATCH 1/3] toolchain: add 4.0.x choice for headers Gustavo Zacarias
@ 2015-04-13 13:00 ` Gustavo Zacarias
2015-04-13 13:00 ` [Buildroot] [PATCH 3/3] linux: bump default to version 4.0 Gustavo Zacarias
2015-04-13 20:18 ` [Buildroot] [PATCH 1/3] toolchain: add 4.0.x choice for headers Thomas Petazzoni
2 siblings, 0 replies; 4+ messages in thread
From: Gustavo Zacarias @ 2015-04-13 13:00 UTC (permalink / raw)
To: buildroot
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
| 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
--git a/package/linux-headers/Config.in.host b/package/linux-headers/Config.in.host
index 1bfde7d..ec3b8b1 100644
--- a/package/linux-headers/Config.in.host
+++ b/package/linux-headers/Config.in.host
@@ -5,7 +5,7 @@ comment "Kernel Header Options"
choice
prompt "Kernel Headers"
- default BR2_KERNEL_HEADERS_3_19
+ default BR2_KERNEL_HEADERS_4_0
help
Select the version of kernel header files you wish to use.
You must select the correct set of header files to match
@@ -81,6 +81,10 @@ choice
bool "Linux 3.19.x kernel headers"
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_19
+ config BR2_KERNEL_HEADERS_4_0
+ bool "Linux 4.0.x kernel headers"
+ select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0
+
config BR2_KERNEL_HEADERS_VERSION
bool "Manually specified Linux version"
endchoice
@@ -102,6 +106,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_0
+ bool "4.0.x"
+ select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0
+
config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_19
bool "3.19.x"
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_19
@@ -202,4 +210,5 @@ config BR2_DEFAULT_KERNEL_HEADERS
default "3.17.8" if BR2_KERNEL_HEADERS_3_17
default "3.18.11" if BR2_KERNEL_HEADERS_3_18
default "3.19.3" if BR2_KERNEL_HEADERS_3_19
+ default "4.0" if BR2_KERNEL_HEADERS_4_0
default BR2_DEFAULT_KERNEL_VERSION if BR2_KERNEL_HEADERS_VERSION
--
2.0.5
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH 3/3] linux: bump default to version 4.0
2015-04-13 13:00 [Buildroot] [PATCH 1/3] toolchain: add 4.0.x choice for headers Gustavo Zacarias
2015-04-13 13:00 ` [Buildroot] [PATCH 2/3] linux-headers: add 4.0.x series Gustavo Zacarias
@ 2015-04-13 13:00 ` Gustavo Zacarias
2015-04-13 20:18 ` [Buildroot] [PATCH 1/3] toolchain: add 4.0.x choice for headers Thomas Petazzoni
2 siblings, 0 replies; 4+ messages in thread
From: Gustavo Zacarias @ 2015-04-13 13:00 UTC (permalink / raw)
To: buildroot
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
linux/Config.in | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/linux/Config.in b/linux/Config.in
index 817139b..cb4daa4 100644
--- a/linux/Config.in
+++ b/linux/Config.in
@@ -21,7 +21,7 @@ choice
prompt "Kernel version"
config BR2_LINUX_KERNEL_LATEST_VERSION
- bool "3.19.3"
+ bool "4.0"
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 "3.19.3" if BR2_LINUX_KERNEL_LATEST_VERSION
+ default "4.0" 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
--
2.0.5
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH 1/3] toolchain: add 4.0.x choice for headers
2015-04-13 13:00 [Buildroot] [PATCH 1/3] toolchain: add 4.0.x choice for headers Gustavo Zacarias
2015-04-13 13:00 ` [Buildroot] [PATCH 2/3] linux-headers: add 4.0.x series Gustavo Zacarias
2015-04-13 13:00 ` [Buildroot] [PATCH 3/3] linux: bump default to version 4.0 Gustavo Zacarias
@ 2015-04-13 20:18 ` Thomas Petazzoni
2 siblings, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2015-04-13 20:18 UTC (permalink / raw)
To: buildroot
Dear Gustavo Zacarias,
On Mon, 13 Apr 2015 10:00:23 -0300, Gustavo Zacarias wrote:
> Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
> ---
> toolchain/toolchain-common.in | 5 +++++
> toolchain/toolchain-external/Config.in | 4 ++++
> 2 files changed, 9 insertions(+)
All three patches applied, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-04-13 20:18 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-13 13:00 [Buildroot] [PATCH 1/3] toolchain: add 4.0.x choice for headers Gustavo Zacarias
2015-04-13 13:00 ` [Buildroot] [PATCH 2/3] linux-headers: add 4.0.x series Gustavo Zacarias
2015-04-13 13:00 ` [Buildroot] [PATCH 3/3] linux: bump default to version 4.0 Gustavo Zacarias
2015-04-13 20:18 ` [Buildroot] [PATCH 1/3] toolchain: add 4.0.x choice for headers Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox