diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2024-01-17 19:31:45 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2024-01-17 19:31:45 +0100 |
commit | 6eacd00ca052663aa1e3fdd6378990618b0db69a (patch) | |
tree | cc1c6f8893cc7f892257387bd0d42c984bcd82be /mk | |
parent | f590e7e918469cd1e8472c5c1eca1f6345b39510 (diff) |
add zstd support for Linux kernel compression
Diffstat (limited to 'mk')
-rw-r--r-- | mk/image.mk | 10 |
1 files changed, 10 insertions, 0 deletions
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 |