mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 04:33:26 +02:00
bzip2/lzma: move initrd/ramfs options out of BLK_DEV
Impact: Partial resolution of build failure Move the initrd/initramfs configuration options from drivers/block/Kconfig to usr/Kconfig, since they do not and should not depend on CONFIG_BLK_DEV. This fixes builds when CONFIG_BLK_DEV=n. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
This commit is contained in:
27
usr/Kconfig
27
usr/Kconfig
@@ -44,3 +44,30 @@ config INITRAMFS_ROOT_GID
|
||||
owned by group root in the initial ramdisk image.
|
||||
|
||||
If you are not sure, leave it set to "0".
|
||||
|
||||
config RD_GZIP
|
||||
bool "Initial ramdisk compressed using gzip"
|
||||
default y
|
||||
depends on BLK_DEV_INITRD=y
|
||||
select DECOMPRESS_GZIP
|
||||
help
|
||||
Support loading of a gzip encoded initial ramdisk or cpio buffer.
|
||||
If unsure, say Y.
|
||||
|
||||
config RD_BZIP2
|
||||
bool "Initial ramdisk compressed using bzip2"
|
||||
default n
|
||||
depends on BLK_DEV_INITRD=y
|
||||
select DECOMPRESS_BZIP2
|
||||
help
|
||||
Support loading of a bzip2 encoded initial ramdisk or cpio buffer
|
||||
If unsure, say N.
|
||||
|
||||
config RD_LZMA
|
||||
bool "Initial ramdisk compressed using lzma"
|
||||
default n
|
||||
depends on BLK_DEV_INITRD=y
|
||||
select DECOMPRESS_LZMA
|
||||
help
|
||||
Support loading of a lzma encoded initial ramdisk or cpio buffer
|
||||
If unsure, say N.
|
||||
|
Reference in New Issue
Block a user