From patchwork Wed Sep 7 14:02:56 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [meta-handheld, 01/12] linux.inc: drop a part of the file for the devices we don't care about Date: Wed, 07 Sep 2011 14:02:56 -0000 From: lumag X-Patchwork-Id: 11173 Message-Id: <1315404187-18176-2-git-send-email-dbaryshkov@gmail.com> To: openembedded-devel@lists.openembedded.org Cc: Dmitry Eremin-Solenikov meta-hh doesn't care about n900, om-gta0x or eee701, so drop the respective hook. Signed-off-by: Dmitry Eremin-Solenikov --- 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() {