Commit 73d8a12f05292d86623b4ec7bf5fd75d5ad5f687
1 parent
18ffa418ae
Exists in
master
and in
39 other branches
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: H. Peter Anvin <hpa@zytor.com>
Showing 1 changed file with 8 additions and 8 deletions Side-by-side Diff
usr/Kconfig
... | ... | @@ -46,27 +46,27 @@ |
46 | 46 | If you are not sure, leave it set to "0". |
47 | 47 | |
48 | 48 | config RD_GZIP |
49 | - bool "Initial ramdisk compressed using gzip" | |
49 | + bool "Initial ramdisk compressed using gzip" if EMBEDDED | |
50 | 50 | default y |
51 | - depends on BLK_DEV_INITRD=y | |
51 | + depends on BLK_DEV_INITRD | |
52 | 52 | select DECOMPRESS_GZIP |
53 | 53 | help |
54 | 54 | Support loading of a gzip encoded initial ramdisk or cpio buffer. |
55 | 55 | If unsure, say Y. |
56 | 56 | |
57 | 57 | config RD_BZIP2 |
58 | - bool "Initial ramdisk compressed using bzip2" | |
59 | - default n | |
60 | - depends on BLK_DEV_INITRD=y | |
58 | + bool "Initial ramdisk compressed using bzip2" if EMBEDDED | |
59 | + default !EMBEDDED | |
60 | + depends on BLK_DEV_INITRD | |
61 | 61 | select DECOMPRESS_BZIP2 |
62 | 62 | help |
63 | 63 | Support loading of a bzip2 encoded initial ramdisk or cpio buffer |
64 | 64 | If unsure, say N. |
65 | 65 | |
66 | 66 | config RD_LZMA |
67 | - bool "Initial ramdisk compressed using lzma" | |
68 | - default n | |
69 | - depends on BLK_DEV_INITRD=y | |
67 | + bool "Initial ramdisk compressed using lzma" if EMBEDDED | |
68 | + default !EMBEDDED | |
69 | + depends on BLK_DEV_INITRD | |
70 | 70 | select DECOMPRESS_LZMA |
71 | 71 | help |
72 | 72 | Support loading of a lzma encoded initial ramdisk or cpio buffer |