build: make zstd initramfs selectable
[openwrt/staging/chunkeey.git] / config / Config-images.in
index 2921cd5bca52c6cc690cf2b85b07ea745a7ef929..957d3af18fa860b5edbf9bb681208bd28a2bf881 100644 (file)
@@ -42,6 +42,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