diff options
| author | Alexander Kanavin <alex@linutronix.de> | 2024-11-20 16:32:03 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-11-21 12:16:28 +0000 |
| commit | 263468c351c6fb2834855bfdc034ffbb3e8983ad (patch) | |
| tree | 6fd271d4b8f2fb1fc2cf73cc70bb170c49f03c92 /meta/conf | |
| parent | b2c6afd12a4823c6575d1c5793d653ead0b8a13a (diff) | |
| download | poky-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.conf | 4 |
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" | |||
| 882 | ZSTD_THREADS ?= "${@oe.utils.cpu_count(at_least=2)}" | 882 | ZSTD_THREADS ?= "${@oe.utils.cpu_count(at_least=2)}" |
| 883 | ZSTD_THREADS[vardepvalue] = "1" | 883 | ZSTD_THREADS[vardepvalue] = "1" |
| 884 | 884 | ||
| 885 | ZSTD_COMPRESSION_LEVEL ?= "-3" | 885 | ZSTD_COMPRESSION_LEVEL ?= "3" |
| 886 | ZSTD_DEFAULTS ?= "--threads=${ZSTD_THREADS} ${ZSTD_COMPRESSION_LEVEL}" | 886 | ZSTD_DEFAULTS ?= "--threads=${ZSTD_THREADS} -${ZSTD_COMPRESSION_LEVEL}" |
| 887 | ZSTD_DEFAULTS[vardepsexclude] = "ZSTD_THREADS" | 887 | ZSTD_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 |
