Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
[cris-mirror.git] / lib / zstd / Makefile
blobdd0a359c135b47b77dc98a6c292ffb7c86b21add
1 obj-$(CONFIG_ZSTD_COMPRESS) += zstd_compress.o
2 obj-$(CONFIG_ZSTD_DECOMPRESS) += zstd_decompress.o
4 ccflags-y += -O3
6 # Object files unique to zstd_compress and zstd_decompress
7 zstd_compress-y := fse_compress.o huf_compress.o compress.o
8 zstd_decompress-y := huf_decompress.o decompress.o
10 # These object files are shared between the modules.
11 # Always add them to zstd_compress.
12 # Unless both zstd_compress and zstd_decompress are built in
13 # then also add them to zstd_decompress.
14 zstd_compress-y += entropy_common.o fse_decompress.o zstd_common.o
16 ifneq ($(CONFIG_ZSTD_COMPRESS)$(CONFIG_ZSTD_DECOMPRESS),yy)
17 zstd_decompress-y += entropy_common.o fse_decompress.o zstd_common.o
18 endif