Patchwork [meta-handheld,01/12] linux.inc: drop a part of the file for the devices we don't care about

login
register
mail settings
Submitter lumag
Date Sept. 7, 2011, 2:02 p.m.
Message ID <1315404187-18176-2-git-send-email-dbaryshkov@gmail.com>
Download mbox | patch
Permalink /patch/11173/
State Accepted, archived
Headers show

Comments

lumag - Sept. 7, 2011, 2:02 p.m.
meta-hh doesn't care about n900, om-gta0x or eee701, so drop the
respective hook.

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
---
 recipes-kernel/linux/linux.inc |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

Patch

diff --git a/recipes-kernel/linux/linux.inc b/recipes-kernel/linux/linux.inc
index 2304135..a30ea70 100644
--- a/recipes-kernel/linux/linux.inc
+++ b/recipes-kernel/linux/linux.inc
@@ -65,15 +65,11 @@  python __anonymous () {
     import bb
     
     devicetree = bb.data.getVar('KERNEL_DEVICETREE', d, 1) or ''
-    machine = bb.data.getVar('MACHINE', d, 1)
     if devicetree:
     	depends = bb.data.getVar("DEPENDS", d, 1)
     	bb.data.setVar("DEPENDS", "%s dtc-native" % depends, d)
     	packages = bb.data.getVar("PACKAGES", d, 1)
     	bb.data.setVar("PACKAGES", "%s kernel-devicetree" % packages, d)
-    if 'nokia900' in machine or 'om-gta0' in machine or 'eee701' in machine:
-        depends = bb.data.getVar("DEPENDS", d, 1)
-        bb.data.setVar("DEPENDS", "%s lzma-native" % depends, d)
 }
 
 do_configure_prepend() {