mirror of
https://github.com/hardkernel/linux.git
synced 2026-03-24 19:40:21 +09:00
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>
This commit is contained in:
committed by
H. Peter Anvin
parent
fb9a4ca982
commit
a26ee60f90
@@ -26,5 +26,5 @@ SECTIONS
|
||||
*/
|
||||
|
||||
.section .init.ramfs,"a"
|
||||
.incbin "usr/initramfs_data.cpio.gz"
|
||||
.incbin "usr/initramfs_data.cpio"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user