bzip2/lzma: fix built-in initramfs vs CONFIG_RD_GZIP
authorAlain Knaff <alain@knaff.lu>
Wed, 7 Jan 2009 08:10:27 +0000 (00:10 -0800)
committerH. Peter Anvin <hpa@zytor.com>
Wed, 7 Jan 2009 08:10:27 +0000 (00:10 -0800)
commita26ee60f90daffe1de6be0d093af86e7279b3dfd
tree01239fb6b173ff46711480b9601c69b92e1715a5
parentfb9a4ca9820fd4d7c4906bd393004662451e273e
bzip2/lzma: fix built-in initramfs vs CONFIG_RD_GZIP

Impact: Resolves build failures in some configurations

Makes it possible to disable CONFIG_RD_GZIP . In that case, the
built-in initramfs will be compressed by whatever compressor is
available (bzip2 or lzma) or left uncompressed if none is available.

It also removes a couple of warnings which occur when no ramdisk
compression at all is chosen.

It also restores the select ZLIB_INFLATE in drivers/block/Kconfig
which somehow came missing. This is needed to activate compilation of
the stuff in zlib_deflate.

Signed-off-by: Alain Knaff <alain@knaff.lu>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
init/initramfs.c
scripts/gen_initramfs_list.sh
usr/Makefile
usr/initramfs_data.S
usr/initramfs_data.bz2.S [new file with mode: 0644]
usr/initramfs_data.gz.S [new file with mode: 0644]
usr/initramfs_data.lzma.S [new file with mode: 0644]