aboutsummaryrefslogtreecommitdiffstats
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:47:52 +0100
commit3143920c541b55b543b9dcc12b18af4e0e4b7ae1 (patch)
treec6f1b30803ee4a5ff71973b1f87485b565558ba9 /meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc
parentdc70cf470f18c97b6762cbf7aca723769b47bc7d (diff)
downloadopenembedded-core-contrib-3143920c541b55b543b9dcc12b18af4e0e4b7ae1.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. 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 () {
major = d.getVar("PV",True).split('.')[0]
if major == "3":
d.setVar("HEADER_FETCH_VER", "3.0")
+ elif major == "4":
+ d.setVar("HEADER_FETCH_VER", "4.x")
else:
d.setVar("HEADER_FETCH_VER", "2.6")
}