diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2024-08-04 06:33:07 +0300 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2024-09-01 14:33:33 +0300 |
commit | 0c4beffbfe3fcd711b5d9268e7c7d63d4c1cc964 (patch) | |
tree | ad939e1fc649c674b60244bb00ae107fa2751ecf /scripts/Makefile.modinst | |
parent | 76be4f5a784533c71afbbb1b8f2963ef9e2ee258 (diff) | |
download | linux-0c4beffbfe3fcd711b5d9268e7c7d63d4c1cc964.tar.xz |
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>
Diffstat (limited to 'scripts/Makefile.modinst')
-rw-r--r-- | scripts/Makefile.modinst | 2 |
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) |