mcuboot: Use tweak version string

Replaces the default with a shorter variable of equal value

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
This commit is contained in:
Jamie McCrae 2024-02-01 08:24:59 +00:00 committed by Fabio Baltieri
commit 835d78ec59

View file

@ -103,7 +103,7 @@ config MCUBOOT_ENCRYPTION_KEY_FILE
config MCUBOOT_IMGTOOL_SIGN_VERSION config MCUBOOT_IMGTOOL_SIGN_VERSION
string "Version to pass to imgtool when signing" string "Version to pass to imgtool when signing"
default "$(VERSION_MAJOR).$(VERSION_MINOR).$(PATCHLEVEL)+$(VERSION_TWEAK)" if "$(VERSION_MAJOR)" != "" default "$(APP_VERSION_TWEAK_STRING)" if "$(VERSION_MAJOR)" != ""
default "0.0.0+0" default "0.0.0+0"
help help
When signing with imgtool then this setting will be passed as version When signing with imgtool then this setting will be passed as version