diff options
author | Tom Rini <tom_rini@mentor.com> | 2011-02-14 16:12:52 -0700 |
---|---|---|
committer | Tom Rini <tom_rini@mentor.com> | 2011-02-14 16:13:53 -0700 |
commit | 91afc3ec0eb102c995ad1a597031004e26f5a794 (patch) | |
tree | fdcc78a9e8bc9282d4bbcf82617faf76af41d07d /recipes/linux | |
parent | 1b1543c9f6ecd22ed700f0e598dac22183d6bc71 (diff) | |
download | openembedded-91afc3ec0eb102c995ad1a597031004e26f5a794.tar.gz |
linux.inc: Add lzma-native for nokia900
Add a check for nokia900 to the existing DEPENDS mangler to add
lzma-native, otherwise:
| LZMA arch/arm/boot/compressed/piggy.lzma
| /bin/sh: lzma: command not found
Signed-off-by: Tom Rini <tom_rini@mentor.com>
Diffstat (limited to 'recipes/linux')
-rw-r--r-- | recipes/linux/linux.inc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/recipes/linux/linux.inc b/recipes/linux/linux.inc index aca6a06218..a0d16c24ac 100644 --- a/recipes/linux/linux.inc +++ b/recipes/linux/linux.inc @@ -61,11 +61,15 @@ 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: + depends = bb.data.getVar("DEPENDS", d, 1) + bb.data.setVar("DEPENDS", "%s lzma-native" % depends, d) } do_configure_prepend() { |