[oe-commits] Tom Rini : linux-kexecboot.inc: Sometimes add lzma-native to DEPENDS

git version control git at git.openembedded.org
Mon Feb 28 20:41:08 UTC 2011


Module: openembedded.git
Branch: master
Commit: 969140e456049934171ff594b3058518b9d0b213
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=969140e456049934171ff594b3058518b9d0b213

Author: Tom Rini <tom_rini at mentor.com>
Date:   Mon Feb 28 13:39:19 2011 -0700

linux-kexecboot.inc: Sometimes add lzma-native to DEPENDS

Using the same logic that switches on lzma compression add
lzma-native to DEPENDS.

Signed-off-by: Tom Rini <tom_rini at mentor.com>

---

 recipes/linux/linux-kexecboot.inc |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/recipes/linux/linux-kexecboot.inc b/recipes/linux/linux-kexecboot.inc
index 40f41d6..e3dde6a 100644
--- a/recipes/linux/linux-kexecboot.inc
+++ b/recipes/linux/linux-kexecboot.inc
@@ -50,6 +50,7 @@ def kernel_version_less_or_equal(variable, checkvalue, truevalue, falsevalue, d)
 
 # force lzma compression for kernel (linux-kexecboot >= 2.6.32)
 # force lzma compression for initramfs (linux-kexecboot >= 2.6.30)
+DEPENDS += '${@kernel_version_less_or_equal("PV", "2.6.29", "", "lzma-native", d)}'
 
 KERNEL_COMPRESSION = '${@kernel_version_less_or_equal("PV", "2.6.31", "", "CONFIG_KERNEL_LZMA=y", d)}'
 





More information about the Openembedded-commits mailing list