From b5e3e3c9a82577fb2b3f9ad0e0a95188cd7f565d Mon Sep 17 00:00:00 2001 From: Nick Terrell Date: Tue, 4 Apr 2017 12:10:47 -0700 Subject: [PATCH] Add zstd kernel module Makefile --- contrib/linux-kernel/lib/Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 contrib/linux-kernel/lib/Makefile diff --git a/contrib/linux-kernel/lib/Makefile b/contrib/linux-kernel/lib/Makefile new file mode 100644 index 000000000..53b4deec9 --- /dev/null +++ b/contrib/linux-kernel/lib/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 := entropy_common.o fse_decompress.o xxhash.o zstd_common.o \ + fse_compress.o huf_compress.o zstd_compress.o +zstd_decompress-y := entropy_common.o fse_decompress.o xxhash.o zstd_common.o \ + huf_decompress.o zstd_decompress.o