summaryrefslogtreecommitdiffstats
path: root/lib/zstd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lib/zstd/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/zstd/Makefile b/lib/zstd/Makefile
new file mode 100644
index 000000000..f5d778e7e
--- /dev/null
+++ b/lib/zstd/Makefile
@@ -0,0 +1,10 @@
+# SPDX-License-Identifier: GPL-2.0-only
+obj-$(CONFIG_ZSTD_COMPRESS) += zstd_compress.o
+obj-$(CONFIG_ZSTD_DECOMPRESS) += zstd_decompress.o
+
+ccflags-y += -O3
+
+zstd_compress-y := fse_compress.o huf_compress.o compress.o \
+ entropy_common.o fse_decompress.o zstd_common.o
+zstd_decompress-y := huf_decompress.o decompress.o \
+ entropy_common.o fse_decompress.o zstd_common.o