From: Tom Rini Date: Mon, 28 Feb 2011 20:39:19 +0000 (-0700) Subject: linux-kexecboot.inc: Sometimes add lzma-native to DEPENDS X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=969140e456049934171ff594b3058518b9d0b213;p=openembedded.git 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 --- diff --git a/recipes/linux/linux-kexecboot.inc b/recipes/linux/linux-kexecboot.inc index 40f41d69ab..e3dde6afa7 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)}'