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

Dmitry Eremin-Solenikov dbaryshkov at gmail.com
Wed Sep 7 14:02:56 UTC 2011


meta-hh doesn't care about n900, om-gta0x or eee701, so drop the
respective hook.

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

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() {
-- 
1.7.2.5





More information about the Openembedded-devel mailing list