You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
683 B
18 lines
683 B
obj-$(CONFIG_ZSTD_COMPRESS) += zstd_compress.o
|
|
obj-$(CONFIG_ZSTD_DECOMPRESS) += zstd_decompress.o
|
|
|
|
ccflags-y += -O3
|
|
|
|
# Object files unique to zstd_compress and zstd_decompress
|
|
zstd_compress-y := fse_compress.o huf_compress.o compress.o
|
|
zstd_decompress-y := huf_decompress.o decompress.o
|
|
|
|
# These object files are shared between the modules.
|
|
# Always add them to zstd_compress.
|
|
# Unless both zstd_compress and zstd_decompress are built in
|
|
# then also add them to zstd_decompress.
|
|
zstd_compress-y += entropy_common.o fse_decompress.o zstd_common.o
|
|
|
|
ifneq ($(CONFIG_ZSTD_COMPRESS)$(CONFIG_ZSTD_DECOMPRESS),yy)
|
|
zstd_decompress-y += entropy_common.o fse_decompress.o zstd_common.o
|
|
endif
|
|
|