]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
[contrib][linux] Add huf_decompress_amd64.o target to Makefile
authorAlexander Lobakin <alobakin@pm.me>
Tue, 21 Sep 2021 18:17:34 +0000 (20:17 +0200)
committerAlexander Lobakin <alobakin@pm.me>
Thu, 23 Sep 2021 14:39:31 +0000 (16:39 +0200)
Commit a5f2c4552803 ("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: a5f2c4552803 ("Huffman ASM")
Signed-off-by: Alexander Lobakin <alobakin@pm.me>
contrib/linux-kernel/linux.mk

index a26bd332509a7d74f4f0d2999fcd5bebbc48fa50..9df9c9c6dc05a8418f2c876d9e4fecf56e33a823 100644 (file)
@@ -42,6 +42,7 @@ zstd_decompress-y := \
                common/fse_decompress.o \
                common/zstd_common.o \
                decompress/huf_decompress.o \
+               decompress/huf_decompress_amd64.o \
                decompress/zstd_ddict.o \
                decompress/zstd_decompress.o \
                decompress/zstd_decompress_block.o \