Skip to content

Commit

Permalink
bzip2/lzma: move CONFIG_RD_* options under CONFIG_EMBEDDED
Browse files Browse the repository at this point in the history
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: H. Peter Anvin <[email protected]>
  • Loading branch information
H. Peter Anvin committed Mar 28, 2009
1 parent 18ffa41 commit 73d8a12
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions usr/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -46,27 +46,27 @@ config INITRAMFS_ROOT_GID
If you are not sure, leave it set to "0".

config RD_GZIP
bool "Initial ramdisk compressed using gzip"
bool "Initial ramdisk compressed using gzip" if EMBEDDED
default y
depends on BLK_DEV_INITRD=y
depends on BLK_DEV_INITRD
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
bool "Initial ramdisk compressed using bzip2" if EMBEDDED
default !EMBEDDED
depends on BLK_DEV_INITRD
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
bool "Initial ramdisk compressed using lzma" if EMBEDDED
default !EMBEDDED
depends on BLK_DEV_INITRD
select DECOMPRESS_LZMA
help
Support loading of a lzma encoded initial ramdisk or cpio buffer
Expand Down

0 comments on commit 73d8a12

Please sign in to comment.