summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-kernel')
-rw-r--r--meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc4
-rw-r--r--meta/recipes-kernel/linux/linux-dtb.inc8
2 files changed, 6 insertions, 6 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 962ca757cd..96fe2ffd62 100644
--- a/meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc
+++ b/meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc
@@ -7,9 +7,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
7python __anonymous () { 7python __anonymous () {
8 major = d.getVar("PV",True).split('.')[0] 8 major = d.getVar("PV",True).split('.')[0]
9 if major == "3": 9 if major == "3":
10 d.setVar("HEADER_FETCH_VER", "3.0") 10 d.setVar("HEADER_FETCH_VER", "3.0")
11 else: 11 else:
12 d.setVar("HEADER_FETCH_VER", "2.6") 12 d.setVar("HEADER_FETCH_VER", "2.6")
13} 13}
14 14
15inherit kernel-arch 15inherit kernel-arch
diff --git a/meta/recipes-kernel/linux/linux-dtb.inc b/meta/recipes-kernel/linux/linux-dtb.inc
index 58b93a1255..7747718391 100644
--- a/meta/recipes-kernel/linux/linux-dtb.inc
+++ b/meta/recipes-kernel/linux/linux-dtb.inc
@@ -5,10 +5,10 @@ KERNEL_DEVICETREE_FLAGS ?= "-R 8 -p 0x3000"
5python __anonymous () { 5python __anonymous () {
6 devicetree = d.getVar("KERNEL_DEVICETREE", True) or '' 6 devicetree = d.getVar("KERNEL_DEVICETREE", True) or ''
7 if devicetree: 7 if devicetree:
8 depends = d.getVar("DEPENDS", True) 8 depends = d.getVar("DEPENDS", True)
9 d.setVar("DEPENDS", "%s dtc-native" % depends) 9 d.setVar("DEPENDS", "%s dtc-native" % depends)
10 packages = d.getVar("PACKAGES", True) 10 packages = d.getVar("PACKAGES", True)
11 d.setVar("PACKAGES", "%s kernel-devicetree" % packages) 11 d.setVar("PACKAGES", "%s kernel-devicetree" % packages)
12} 12}
13 13
14do_install_append() { 14do_install_append() {