build: add option for initramfs zstd compression for newer kernels
[openwrt/staging/mkresin.git] / config / Config-images.in
index 7d56d70908a945b572db159c93103bea524438f4..2bb8ea7dfc12acbd21235a597386ed31fc5b7ee8 100644 (file)
@@ -44,6 +44,10 @@ menu "Target Images"
 
                        config TARGET_INITRAMFS_COMPRESSION_XZ
                                bool "xz"
+
+                       config TARGET_INITRAMFS_COMPRESSION_ZSTD
+                               depends on !LINUX_5_4 && !LINUX_4_19
+                               bool "zstd"
                endchoice
 
                config EXTERNAL_CPIO