summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@windriver.com>2015-07-21 11:21:06 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-07-23 08:48:41 +0100
commit9120130eabd86d2d59b40214710a7f50dededc4c (patch)
treeb5ca2c179afbe8418b3d39b3e07ef64b73a5ee0b /meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc
parentc56cb3156590db867541eabad9e19a20f24b800d (diff)
downloadpoky-9120130eabd86d2d59b40214710a7f50dededc4c.tar.gz
linux-libc-headers: update to 4.1
Updating the libc-headers to match the 4.1 LTSI kernel version. We also tweak the logic in linux-libc-headers.inc to look in the 4.x subdirectory if a 4.x kernel is specified as the header source. (From OE-Core rev: 3143920c541b55b543b9dcc12b18af4e0e4b7ae1) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc')
-rw-r--r--meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc b/meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc
index b18d09fd6c..566bc1e615 100644
--- a/meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc
+++ b/meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc
@@ -35,6 +35,8 @@ python __anonymous () {
35 major = d.getVar("PV",True).split('.')[0] 35 major = d.getVar("PV",True).split('.')[0]
36 if major == "3": 36 if major == "3":
37 d.setVar("HEADER_FETCH_VER", "3.0") 37 d.setVar("HEADER_FETCH_VER", "3.0")
38 elif major == "4":
39 d.setVar("HEADER_FETCH_VER", "4.x")
38 else: 40 else:
39 d.setVar("HEADER_FETCH_VER", "2.6") 41 d.setVar("HEADER_FETCH_VER", "2.6")
40} 42}