From: Alexander Kanavin Date: Wed, 20 Nov 2024 15:32:03 +0000 (+0100) Subject: bitbake.conf: make ZSTD_COMPRESSION_LEVEL a number rather than a dash-prefixed option X-Git-Tag: yocto-5.2~1268 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9c284b4c661566855f15ba3f4508982c2a60b147;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git bitbake.conf: make ZSTD_COMPRESSION_LEVEL a number rather than a dash-prefixed option This allows using it where only a number is needed, such as rpm compression setting. Signed-off-by: Alexander Kanavin Signed-off-by: Richard Purdie --- diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index cfc7316a155..1d2c2e0022b 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf @@ -882,8 +882,8 @@ XZ_DEFAULTS[vardepsexclude] += "XZ_MEMLIMIT XZ_THREADS" ZSTD_THREADS ?= "${@oe.utils.cpu_count(at_least=2)}" ZSTD_THREADS[vardepvalue] = "1" -ZSTD_COMPRESSION_LEVEL ?= "-3" -ZSTD_DEFAULTS ?= "--threads=${ZSTD_THREADS} ${ZSTD_COMPRESSION_LEVEL}" +ZSTD_COMPRESSION_LEVEL ?= "3" +ZSTD_DEFAULTS ?= "--threads=${ZSTD_THREADS} -${ZSTD_COMPRESSION_LEVEL}" ZSTD_DEFAULTS[vardepsexclude] = "ZSTD_THREADS" # Limit the number of threads that OpenMP libraries will use. Otherwise they