cli: kernel-make: Add note for parallel compression for xz

Source: https://lore.kernel.org/lkml/20200901151002.988547791@linuxfoundation.org/
This commit is contained in:
ColorfulRhino 2024-07-07 17:24:53 +02:00
parent 314447dffd
commit e8c4bde80f

View File

@ -61,7 +61,10 @@ function run_kernel_make_internal() {
"KBUILD_BUILD_USER=armbian" # https://www.kernel.org/doc/html/latest/kbuild/kbuild.html#kbuild-build-user-kbuild-build-host
"KBUILD_BUILD_HOST=next" # https://www.kernel.org/doc/html/latest/kbuild/kbuild.html#kbuild-build-user-kbuild-build-host
"KGZIP=pigz" "KBZIP2=pbzip2" # Parallel compression, use explicit parallel compressors https://lore.kernel.org/lkml/20200901151002.988547791@linuxfoundation.org/ # @TODO: what about XZ?
# Parallel compression, use explicit parallel compressors https://lore.kernel.org/lkml/20200901151002.988547791@linuxfoundation.org/
"KGZIP=pigz"
"KBZIP2=pbzip2"
# Parallel compression for `xz` if needed can be added with "XZ_OPT=\"--threads=0\""
)
if [[ -n "${llvm_flag}" ]]; then
common_make_params_quoted+=("${llvm_flag}")