summaryrefslogtreecommitdiffstats
path: root/meta/conf
diff options
context:
space:
mode:
authorAlexander Kanavin <alex@linutronix.de>2024-11-20 16:32:03 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-11-21 12:16:28 +0000
commit263468c351c6fb2834855bfdc034ffbb3e8983ad (patch)
tree6fd271d4b8f2fb1fc2cf73cc70bb170c49f03c92 /meta/conf
parentb2c6afd12a4823c6575d1c5793d653ead0b8a13a (diff)
downloadpoky-263468c351c6fb2834855bfdc034ffbb3e8983ad.tar.gz
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. (From OE-Core rev: 9c284b4c661566855f15ba3f4508982c2a60b147) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf')
-rw-r--r--meta/conf/bitbake.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index cfc7316a15..1d2c2e0022 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -882,8 +882,8 @@ XZ_DEFAULTS[vardepsexclude] += "XZ_MEMLIMIT XZ_THREADS"
882ZSTD_THREADS ?= "${@oe.utils.cpu_count(at_least=2)}" 882ZSTD_THREADS ?= "${@oe.utils.cpu_count(at_least=2)}"
883ZSTD_THREADS[vardepvalue] = "1" 883ZSTD_THREADS[vardepvalue] = "1"
884 884
885ZSTD_COMPRESSION_LEVEL ?= "-3" 885ZSTD_COMPRESSION_LEVEL ?= "3"
886ZSTD_DEFAULTS ?= "--threads=${ZSTD_THREADS} ${ZSTD_COMPRESSION_LEVEL}" 886ZSTD_DEFAULTS ?= "--threads=${ZSTD_THREADS} -${ZSTD_COMPRESSION_LEVEL}"
887ZSTD_DEFAULTS[vardepsexclude] = "ZSTD_THREADS" 887ZSTD_DEFAULTS[vardepsexclude] = "ZSTD_THREADS"
888 888
889# Limit the number of threads that OpenMP libraries will use. Otherwise they 889# Limit the number of threads that OpenMP libraries will use. Otherwise they