1obj-$(CONFIG_ZSTD_COMPRESS) += zstd_compress.o 2obj-$(CONFIG_ZSTD_DECOMPRESS) += zstd_decompress.o 3 4ccflags-y += -O3 5 6# Object files unique to zstd_compress and zstd_decompress 7zstd_compress-y := fse_compress.o huf_compress.o compress.o 8zstd_decompress-y := huf_decompress.o decompress.o 9 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. 14zstd_compress-y += entropy_common.o fse_decompress.o zstd_common.o 15 16ifneq ($(CONFIG_ZSTD_COMPRESS)$(CONFIG_ZSTD_DECOMPRESS),yy) 17 zstd_decompress-y += entropy_common.o fse_decompress.o zstd_common.o 18endif 19