[Top] [All Lists]

Re: [PATCH] MIPS: Add support of LZO-compressed kernels

To: Wu Zhangjin <>
Subject: Re: [PATCH] MIPS: Add support of LZO-compressed kernels
From: Sergei Shtylyov <>
Date: Fri, 15 Jan 2010 13:30:10 +0300
Cc: Ralf Baechle <>,
In-reply-to: <>
References: <>
User-agent: Thunderbird (Windows/20090812)

Wu Zhangjin wrote:
The commit "lib: add support for LZO-compressed kernels" has been merged
into linus' 2.6.33-rc4 tree, so, It is time to add the support for MIPS.

NOTE: to enable this support, the lzop application is needed.

Signed-off-by: Wu Zhangjin <>
diff --git a/arch/mips/boot/compressed/Makefile 
index 671d344..e3c93f8 100644
--- a/arch/mips/boot/compressed/Makefile
+++ b/arch/mips/boot/compressed/Makefile
@@ -41,9 +41,11 @@ $(obj)/vmlinux.bin: $(KBUILD_IMAGE)
 suffix_$(CONFIG_KERNEL_GZIP)  = gz
 suffix_$(CONFIG_KERNEL_BZIP2) = bz2
 suffix_$(CONFIG_KERNEL_LZMA)  = lzma
+suffix_$(CONFIG_KERNEL_LZO)  = lzo
 tool_$(CONFIG_KERNEL_GZIP)    = gzip
 tool_$(CONFIG_KERNEL_BZIP2)   = bzip2
 tool_$(CONFIG_KERNEL_LZMA)    = lzma
+tool_$(CONFIG_KERNEL_LZO)    = lzo

  You should align "lzo" with the rest of the suffixes/tool names.

WBR, Sergei

<Prev in Thread] Current Thread [Next in Thread>