blob: 2003e18425883589ad258adf4fc4ab1a6149e889 [file] [log] [blame]
Brandon Maierdbe88da2023-01-12 10:27:45 -06001# SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause
2# ################################################################
3# Copyright (c) Facebook, Inc.
4# All rights reserved.
5#
6# This source code is licensed under both the BSD-style license (found in the
7# LICENSE file in the root directory of this source tree) and the GPLv2 (found
8# in the COPYING file in the root directory of this source tree).
9# You may select, at your option, one of the above-listed licenses.
10# ################################################################
Marek BehĂșne87e2002019-04-29 22:40:44 +020011obj-y += zstd_decompress.o
Brandon Maierdbe88da2023-01-12 10:27:45 -060012obj-y += zstd_common.o
13
14ifeq ($(CONFIG_ZSTD_LIB_MINIFY),y)
15ccflags-y += -DHUF_FORCE_DECOMPRESS_X1
16ccflags-y += -DZSTD_FORCE_DECOMPRESS_SEQUENCES_SHORT
17ccflags-y += -DZSTD_NO_INLINE
18ccflags-y += -DZSTD_STRIP_ERROR_STRINGS
19ccflags-y += -DDYNAMIC_BMI2=0
20endif
21
22zstd_decompress-y := \
23 zstd_decompress_module.o \
24 decompress/huf_decompress.o \
25 decompress/zstd_ddict.o \
26 decompress/zstd_decompress.o \
27 decompress/zstd_decompress_block.o \
28 zstd.o \
Marek BehĂșne87e2002019-04-29 22:40:44 +020029
Brandon Maierdbe88da2023-01-12 10:27:45 -060030zstd_common-y := \
31 zstd_common_module.o \
32 common/debug.o \
33 common/entropy_common.o \
34 common/error_private.o \
35 common/fse_decompress.o \
36 common/zstd_common.o \