Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

initramfs: make compression options not depend on INITRAMFS_SOURCE

Even if INITRAMFS_SOURCE is empty, usr/gen_initramfs.sh generates a
tiny default initramfs, which is embedded in vmlinux.

So, defining INITRAMFS_COMPRESSION* options should be valid irrespective
of INITRAMFS_SOURCE.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>

-2
-2
usr/Kconfig
··· 102 102 103 103 choice 104 104 prompt "Built-in initramfs compression mode" 105 - depends on INITRAMFS_SOURCE!="" 106 105 optional 107 106 help 108 107 This option allows you to decide by which algorithm the builtin ··· 210 211 endchoice 211 212 212 213 config INITRAMFS_COMPRESSION 213 - depends on INITRAMFS_SOURCE!="" 214 214 string 215 215 default "" if INITRAMFS_COMPRESSION_NONE 216 216 default ".gz" if INITRAMFS_COMPRESSION_GZIP