summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Rini <tom_rini@mentor.com>2011-02-28 13:39:19 -0700
committerTom Rini <tom_rini@mentor.com>2011-02-28 13:40:14 -0700
commit969140e456049934171ff594b3058518b9d0b213 (patch)
treea374dbeba38c86a4aef96ab470919070ca7c9920
parent1bb4b87790a8378888efd64a70749fa163e5e74c (diff)
downloadopenembedded-969140e456049934171ff594b3058518b9d0b213.tar.gz
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@mentor.com>
-rw-r--r--recipes/linux/linux-kexecboot.inc1
1 files changed, 1 insertions, 0 deletions
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)}'