summaryrefslogtreecommitdiffstats
path: root/lib/lz4/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/lz4/Makefile')
-rw-r--r--lib/lz4/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/lz4/Makefile b/lib/lz4/Makefile
new file mode 100644
index 0000000000..5b42242afa
--- /dev/null
+++ b/lib/lz4/Makefile
@@ -0,0 +1,6 @@
+# SPDX-License-Identifier: GPL-2.0-only
+ccflags-y += -O3
+
+obj-$(CONFIG_LZ4_COMPRESS) += lz4_compress.o
+obj-$(CONFIG_LZ4HC_COMPRESS) += lz4hc_compress.o
+obj-$(CONFIG_LZ4_DECOMPRESS) += lz4_decompress.o