summaryrefslogtreecommitdiffstats
path: root/lib/zstd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/zstd/Makefile')
-rw-r--r--lib/zstd/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/zstd/Makefile b/lib/zstd/Makefile
new file mode 100644
index 000000000..7920cbbfe
--- /dev/null
+++ b/lib/zstd/Makefile
@@ -0,0 +1,9 @@
+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