summaryrefslogtreecommitdiff
path: root/target/linux
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2024-01-17 19:31:45 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2024-01-17 19:31:45 +0100
commit6eacd00ca052663aa1e3fdd6378990618b0db69a (patch)
treecc1c6f8893cc7f892257387bd0d42c984bcd82be /target/linux
parentf590e7e918469cd1e8472c5c1eca1f6345b39510 (diff)
add zstd support for Linux kernel compression
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/config/Config.in.compression18
1 files changed, 18 insertions, 0 deletions
diff --git a/target/linux/config/Config.in.compression b/target/linux/config/Config.in.compression
index 2eeaab240..92eb58616 100644
--- a/target/linux/config/Config.in.compression
+++ b/target/linux/config/Config.in.compression
@@ -8,6 +8,10 @@ config ADK_LINUX_KERNEL_INITRAMFS_COMPRESSION_XZ
bool
select ADK_HOST_NEED_XZ
+config ADK_LINUX_KERNEL_INITRAMFS_COMPRESSION_ZSTD
+ bool
+ select ADK_HOST_NEED_ZSTD
+
config ADK_LINUX_KERNEL_INITRAMFS_COMPRESSION_LZ4
bool
select ADK_HOST_NEED_LZ4
@@ -57,6 +61,12 @@ config ADK_LINUX_KERNEL_RD_LZO
config ADK_LINUX_KERNEL_KERNEL_LZO
bool
+config ADK_LINUX_KERNEL_RD_ZSTD
+ bool
+
+config ADK_LINUX_KERNEL_KERNEL_ZSTD
+ bool
+
config ADK_LINUX_KERNEL_RD_XZ
bool
@@ -84,6 +94,14 @@ config ADK_LINUX_KERNEL_COMP_XZ
depends on ADK_TARGET_KERNEL_WITH_COMPRESSION \
|| ADK_TARGET_GENERIC
+config ADK_LINUX_KERNEL_COMP_ZSTD
+ bool "use Zstandard compression"
+ select ADK_LINUX_KERNEL_RD_ZSTD
+ select ADK_LINUX_KERNEL_KERNEL_ZSTD
+ select ADK_LINUX_KERNEL_INITRAMFS_COMPRESSION_ZSTD
+ depends on ADK_TARGET_KERNEL_WITH_COMPRESSION \
+ || ADK_TARGET_GENERIC
+
config ADK_LINUX_KERNEL_COMP_LZ4
bool "use LZ4 compression"
select ADK_LINUX_KERNEL_RD_LZ4