From 6eacd00ca052663aa1e3fdd6378990618b0db69a Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 17 Jan 2024 19:31:45 +0100 Subject: add zstd support for Linux kernel compression --- mk/image.mk | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'mk') diff --git a/mk/image.mk b/mk/image.mk index 9989994b9..601b0352b 100644 --- a/mk/image.mk +++ b/mk/image.mk @@ -255,6 +255,16 @@ ifeq ($(ADK_LINUX_KERNEL_COMP_XZ),y) echo "CONFIG_XZ_DEC_TEST=n" >> ${LINUX_DIR}/.config echo "CONFIG_XZ_DEC_MICROLZMA=n" >> ${LINUX_DIR}/.config endif +ifeq ($(ADK_LINUX_KERNEL_COMP_ZSTD),y) + echo "CONFIG_RD_XZ=n" >> ${LINUX_DIR}/.config + echo "CONFIG_RD_BZIP2=n" >> ${LINUX_DIR}/.config + echo "CONFIG_RD_GZIP=n" >> ${LINUX_DIR}/.config + echo "CONFIG_RD_LZO=n" >> ${LINUX_DIR}/.config + echo "CONFIG_RD_LZ4=n" >> ${LINUX_DIR}/.config + echo "CONFIG_RD_LZMA=n" >> ${LINUX_DIR}/.config + echo "CONFIG_RD_ZSTD=y" >> ${LINUX_DIR}/.config + echo "CONFIG_INITRAMFS_COMPRESSION_ZSTD=y" >> ${LINUX_DIR}/.config +endif ifeq ($(ADK_LINUX_KERNEL_COMP_LZ4),y) echo "CONFIG_RD_XZ=n" >> ${LINUX_DIR}/.config echo "CONFIG_RD_BZIP2=n" >> ${LINUX_DIR}/.config -- cgit v1.2.3