1
0
mirror of https://github.com/facebook/zstd.git synced 2025-07-29 11:21:22 +03:00

[contrib][linux] Add huf_decompress_amd64.o target to Makefile

Commit a5f2c45528 ("Huffman ASM") added a new ASM source file,
but it wasn't added to the kernel Makefile despite that it received
support for Huffman ASM according to the internal definitions. This
leads to undefined references, as huf_decompress.o now calls those
ASM functions.
Add it to the list of sources when building inside the kernel tree.
Kbuild can handle .S files just fine, so none additional rules
needed.

Fixes: a5f2c45528 ("Huffman ASM")
Signed-off-by: Alexander Lobakin <alobakin@pm.me>
This commit is contained in:
Alexander Lobakin
2021-09-21 20:17:34 +02:00
parent e6d62bbfe1
commit c45b27abe7

View File

@ -42,6 +42,7 @@ zstd_decompress-y := \
common/fse_decompress.o \ common/fse_decompress.o \
common/zstd_common.o \ common/zstd_common.o \
decompress/huf_decompress.o \ decompress/huf_decompress.o \
decompress/huf_decompress_amd64.o \
decompress/zstd_ddict.o \ decompress/zstd_ddict.o \
decompress/zstd_decompress.o \ decompress/zstd_decompress.o \
decompress/zstd_decompress_block.o \ decompress/zstd_decompress_block.o \