summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2024-08-04 12:33:07 +0900
committerMasahiro Yamada <masahiroy@kernel.org>2024-09-01 20:33:33 +0900
commit0c4beffbfe3fcd711b5d9268e7c7d63d4c1cc964 (patch)
treead939e1fc649c674b60244bb00ae107fa2751ecf
parent76be4f5a784533c71afbbb1b8f2963ef9e2ee258 (diff)
downloadlinux-stable-0c4beffbfe3fcd711b5d9268e7c7d63d4c1cc964.tar.gz
linux-stable-0c4beffbfe3fcd711b5d9268e7c7d63d4c1cc964.tar.bz2
linux-stable-0c4beffbfe3fcd711b5d9268e7c7d63d4c1cc964.zip
kbuild: modinst: remove the multithread option from zstd compression
Parallel execution is supported by GNU Make: $ make -j<N> modules_install It is questionable to enable multithreading within each zstd process by default. If you still want to do it, you can use the environment variable: $ ZSTD_NBTHREADS=<N> make modules_install Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Nicolas Schier <nicolas@fjasle.eu> Tested-by: Sedat Dilek <sedat.dilek@gmail.com>
-rw-r--r--scripts/Makefile.modinst2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Makefile.modinst b/scripts/Makefile.modinst
index 0afd75472679..04f5229efa6b 100644
--- a/scripts/Makefile.modinst
+++ b/scripts/Makefile.modinst
@@ -146,7 +146,7 @@ quiet_cmd_gzip = GZIP $@
quiet_cmd_xz = XZ $@
cmd_xz = $(XZ) --check=crc32 --lzma2=dict=1MiB -f $<
quiet_cmd_zstd = ZSTD $@
- cmd_zstd = $(ZSTD) -T0 --rm -f -q $<
+ cmd_zstd = $(ZSTD) --rm -f -q $<
$(dst)/%.ko.gz: $(dst)/%.ko FORCE
$(call cmd,gzip)