提交 73d8a12f 编写于 作者: H H. Peter Anvin

bzip2/lzma: move CONFIG_RD_* options under CONFIG_EMBEDDED

Impact: reduce Kconfig noise

Move the options that control possible initramfs/initrd compressions
underneath CONFIG_EMBEDDED.  The only impact of leaving these options
set to y is additional code in the init section of the kernel; there
is no reason to burden non-embedded users with these options.
Signed-off-by: NH. Peter Anvin <hpa@zytor.com>
上级 18ffa418
...@@ -46,27 +46,27 @@ config INITRAMFS_ROOT_GID ...@@ -46,27 +46,27 @@ config INITRAMFS_ROOT_GID
If you are not sure, leave it set to "0". If you are not sure, leave it set to "0".
config RD_GZIP config RD_GZIP
bool "Initial ramdisk compressed using gzip" bool "Initial ramdisk compressed using gzip" if EMBEDDED
default y default y
depends on BLK_DEV_INITRD=y depends on BLK_DEV_INITRD
select DECOMPRESS_GZIP select DECOMPRESS_GZIP
help help
Support loading of a gzip encoded initial ramdisk or cpio buffer. Support loading of a gzip encoded initial ramdisk or cpio buffer.
If unsure, say Y. If unsure, say Y.
config RD_BZIP2 config RD_BZIP2
bool "Initial ramdisk compressed using bzip2" bool "Initial ramdisk compressed using bzip2" if EMBEDDED
default n default !EMBEDDED
depends on BLK_DEV_INITRD=y depends on BLK_DEV_INITRD
select DECOMPRESS_BZIP2 select DECOMPRESS_BZIP2
help help
Support loading of a bzip2 encoded initial ramdisk or cpio buffer Support loading of a bzip2 encoded initial ramdisk or cpio buffer
If unsure, say N. If unsure, say N.
config RD_LZMA config RD_LZMA
bool "Initial ramdisk compressed using lzma" bool "Initial ramdisk compressed using lzma" if EMBEDDED
default n default !EMBEDDED
depends on BLK_DEV_INITRD=y depends on BLK_DEV_INITRD
select DECOMPRESS_LZMA select DECOMPRESS_LZMA
help help
Support loading of a lzma encoded initial ramdisk or cpio buffer Support loading of a lzma encoded initial ramdisk or cpio buffer
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册