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

kbuild: remove commented-out INITRD_COMPRESS

This code has been commented out since commit b7000adef17a
("Don't set the INITRD_COMPRESS environment variable automatically").

Clean it up now.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>

-13
-13
Makefile
··· 934 934 endif # CONFIG_MODULE_COMPRESS 935 935 export mod_compress_cmd 936 936 937 - # Select initial ramdisk compression format, default is gzip(1). 938 - # This shall be used by the dracut(8) tool while creating an initramfs image. 939 - # 940 - INITRD_COMPRESS-y := gzip 941 - INITRD_COMPRESS-$(CONFIG_RD_BZIP2) := bzip2 942 - INITRD_COMPRESS-$(CONFIG_RD_LZMA) := lzma 943 - INITRD_COMPRESS-$(CONFIG_RD_XZ) := xz 944 - INITRD_COMPRESS-$(CONFIG_RD_LZO) := lzo 945 - INITRD_COMPRESS-$(CONFIG_RD_LZ4) := lz4 946 - # do not export INITRD_COMPRESS, since we didn't actually 947 - # choose a sane default compression above. 948 - # export INITRD_COMPRESS := $(INITRD_COMPRESS-y) 949 - 950 937 ifdef CONFIG_MODULE_SIG_ALL 951 938 $(eval $(call config_filename,MODULE_SIG_KEY)) 952 939