aboutsummaryrefslogtreecommitdiffstats
path: root/recipes
diff options
context:
space:
mode:
authorAndrea Adami <andrea.adami@gmail.com>2010-02-03 00:50:35 +0100
committerAndrea Adami <andrea.adami@gmail.com>2010-02-03 00:50:35 +0100
commit15960651ad1edc8a8e0b5a81c71d67ca0adff7c0 (patch)
treee9ccb8cfaa02a0947a412ff991f5396e4da6e65c /recipes
parent3477e95b6865443fe25b7e7d1bf09e0ac6f38ec1 (diff)
downloadopenembedded-15960651ad1edc8a8e0b5a81c71d67ca0adff7c0.tar.gz
linux-kexecboot.inc: fix minimal versions required for LZMA.
Diffstat (limited to 'recipes')
-rw-r--r--recipes/kexecboot/linux-kexecboot.inc13
1 files changed, 4 insertions, 9 deletions
diff --git a/recipes/kexecboot/linux-kexecboot.inc b/recipes/kexecboot/linux-kexecboot.inc
index 6cc22f45f2..82f2c53491 100644
--- a/recipes/kexecboot/linux-kexecboot.inc
+++ b/recipes/kexecboot/linux-kexecboot.inc
@@ -39,16 +39,11 @@ def kernel_version_less_or_equal(variable, checkvalue, truevalue, falsevalue, d)
else:
return falsevalue
-# force lzma compression for kernels >= 2.6.30
-#
-# kernel
-# CONFIG_HAVE_KERNEL_GZIP=y
-# CONFIG_HAVE_KERNEL_LZMA=y
-# CONFIG_HAVE_KERNEL_LZO=y
+# force lzma compression for kernel (linux-kexecboot >= 2.6.32)
+# force lzma compression for initramfs (linux-kexecboot >= 2.6.30)
+
+KERNEL_COMPRESSION = '${@kernel_version_less_or_equal("PV", "2.6.32", "", "CONFIG_KERNEL_LZMA=y", d)}'
-KERNEL_COMPRESSION = '${@kernel_version_less_or_equal("PV", "2.6.30", "", "CONFIG_KERNEL_LZMA=y", d)}'
-#
-# initramfs
INITRAMFS_COMPRESSION = '${@kernel_version_less_or_equal("PV", "2.6.30", "", "CONFIG_INITRAMFS_COMPRESSION_LZMA=y", d)}'
INITRAMFS_COMPRESSION_SUFFIX = '${@kernel_version_less_or_equal("PV", "2.6.30", "gz", "lzma", d)}'
RD_COMPRESSION = '${@kernel_version_less_or_equal("PV", "2.6.30", "", "CONFIG_RD_LZMA=y", d)}'