diff options
author | Albin Tonnerre <albin.tonnerre@free-electrons.com> | 2010-04-03 06:40:28 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-04-14 07:05:36 -0400 |
commit | 6e8699f7d68589e0e9ab324f598a3357bceb40bc (patch) | |
tree | 350b40d4a99c87912bd7a395f236f4ab87915b85 /arch/arm/boot/compressed/Makefile | |
parent | 5cfc8ee0bb5134e1204e1ec5843e164f24315021 (diff) |
ARM: 6026/1: ARM: Add support for LZMA-compressed kernel images
This patch allows using a kernel image compressed with LZMA on ARM.
Extracting the image is fairly slow, but it might be useful on machines
with a very limited amount of storage, as the size benefit is quite
significant (about 25% smaller with LZMA compared to GZIP)
Tested-by: Martin Michlmayr <tbm@cyrius.com>
Tested-by: Paulius Zaleckas <paulius.zaleckas@gmail.com>
Signed-off-by: Albin Tonnerre <albin.tonnerre@free-electrons.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/boot/compressed/Makefile')
-rw-r--r-- | arch/arm/boot/compressed/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/boot/compressed/Makefile b/arch/arm/boot/compressed/Makefile index 97c89e7de7d3..53faa9063a03 100644 --- a/arch/arm/boot/compressed/Makefile +++ b/arch/arm/boot/compressed/Makefile | |||
@@ -65,6 +65,7 @@ SEDFLAGS = s/TEXT_START/$(ZTEXTADDR)/;s/BSS_START/$(ZBSSADDR)/ | |||
65 | 65 | ||
66 | suffix_$(CONFIG_KERNEL_GZIP) = gzip | 66 | suffix_$(CONFIG_KERNEL_GZIP) = gzip |
67 | suffix_$(CONFIG_KERNEL_LZO) = lzo | 67 | suffix_$(CONFIG_KERNEL_LZO) = lzo |
68 | suffix_$(CONFIG_KERNEL_LZMA) = lzma | ||
68 | 69 | ||
69 | targets := vmlinux vmlinux.lds \ | 70 | targets := vmlinux vmlinux.lds \ |
70 | piggy.$(suffix_y) piggy.$(suffix_y).o \ | 71 | piggy.$(suffix_y) piggy.$(suffix_y).o \ |