summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2019-02-28 10:32:01 +0100
committerMasahiro Yamada <yamada.masahiro@socionext.com>2019-03-04 14:24:02 +0100
commit54b598a8638dd0850f51c8a18098f1be2c50d79f (patch)
tree2f2d2076a2713b6f3c59dc02cfdd0808e170ac17 /Makefile
parentkbuild: move -gsplit-dwarf, -gdwarf-4 option tests to Kconfig (diff)
downloadlinux-54b598a8638dd0850f51c8a18098f1be2c50d79f.tar.xz
linux-54b598a8638dd0850f51c8a18098f1be2c50d79f.zip
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>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 0 insertions, 13 deletions
diff --git a/Makefile b/Makefile
index 38c0101d730c..8d04447ac764 100644
--- a/Makefile
+++ b/Makefile
@@ -934,19 +934,6 @@ ifdef CONFIG_MODULE_COMPRESS
endif # CONFIG_MODULE_COMPRESS
export mod_compress_cmd
-# Select initial ramdisk compression format, default is gzip(1).
-# This shall be used by the dracut(8) tool while creating an initramfs image.
-#
-INITRD_COMPRESS-y := gzip
-INITRD_COMPRESS-$(CONFIG_RD_BZIP2) := bzip2
-INITRD_COMPRESS-$(CONFIG_RD_LZMA) := lzma
-INITRD_COMPRESS-$(CONFIG_RD_XZ) := xz
-INITRD_COMPRESS-$(CONFIG_RD_LZO) := lzo
-INITRD_COMPRESS-$(CONFIG_RD_LZ4) := lz4
-# do not export INITRD_COMPRESS, since we didn't actually
-# choose a sane default compression above.
-# export INITRD_COMPRESS := $(INITRD_COMPRESS-y)
-
ifdef CONFIG_MODULE_SIG_ALL
$(eval $(call config_filename,MODULE_SIG_KEY))