mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 05:09:24 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
b2c6afd12a
commit
263468c351
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user