diff mbox series

populate_sdk_base: Make SDK_ZSTD_COMPRESSION_LEVEL overridable

Message ID 20260219151208.1429114-1-philip.lorenz@bmw.de
State Under Review
Headers show
Series populate_sdk_base: Make SDK_ZSTD_COMPRESSION_LEVEL overridable | expand

Commit Message

Philip Lorenz Feb. 19, 2026, 3:12 p.m. UTC
Like the other SDK_*_COMPRESSION_LEVELS users may want to override the
final compression level.

Signed-off-by: Philip Lorenz <philip.lorenz@bmw.de>
---
 meta/classes-recipe/populate_sdk_base.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta/classes-recipe/populate_sdk_base.bbclass b/meta/classes-recipe/populate_sdk_base.bbclass
index 8e671cf28f..b427ff2761 100644
--- a/meta/classes-recipe/populate_sdk_base.bbclass
+++ b/meta/classes-recipe/populate_sdk_base.bbclass
@@ -92,7 +92,7 @@  SDK_XZ_OPTIONS ?= "${XZ_DEFAULTS} ${SDK_XZ_COMPRESSION_LEVEL}"
 SDK_ZIP_OPTIONS ?= "-y"
 SDK_7ZIP_OPTIONS ?= "-mx=9 -mm=BZip2"
 SDK_7ZIP_TYPE ?= "7z"
-SDK_ZSTD_COMPRESSION_LEVEL = "-17"
+SDK_ZSTD_COMPRESSION_LEVEL ?= "-17"
 
 # To support different sdk type according to SDK_ARCHIVE_TYPE, now support zip and tar.xz
 python () {