summaryrefslogtreecommitdiff
path: root/lib/zstd/Makefile
diff options
context:
space:
mode:
authorNick Terrell <terrelln@fb.com>2022-10-14 14:47:04 -0700
committerNick Terrell <terrelln@fb.com>2022-10-24 12:12:26 -0700
commit4782c725c1538aa9ef894ae4a3938db40be7f02c (patch)
tree4545905e2e9ff32ff8b606876eb18d9be013fa8e /lib/zstd/Makefile
parent19d7df98472851e1d2d11e00c177988d0f49683d (diff)
zstd: Move zstd-common module exports to zstd_common_module.c
The zstd codebase is imported from the upstream zstd repo, and is over-written on every update. Upstream keeps the kernel specific code separate from the main library. So the module definition is moved into the zstd_common_module.c file. This matches the pattern followed by the zstd-compress and zstd-decompress files. I've done build and boot testing on x86-64, i386, and aarch64. I've verified that zstd built both as modules and built-in build and boot. Signed-off-by: Nick Terrell <terrelln@fb.com>
Diffstat (limited to 'lib/zstd/Makefile')
-rw-r--r--lib/zstd/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/zstd/Makefile b/lib/zstd/Makefile
index 440bd0007ae2..20f08c644b71 100644
--- a/lib/zstd/Makefile
+++ b/lib/zstd/Makefile
@@ -35,6 +35,7 @@ zstd_decompress-y := \
decompress/zstd_decompress_block.o \
zstd_common-y := \
+ zstd_common_module.o \
common/debug.o \
common/entropy_common.o \
common/error_private.o \