cmake: print identifier instead of variant

Update board info printing to use the common term identifier.
Variant is used for the final part of the identifier when a board has
multiple build variants.

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
This commit is contained in:
Jamie McCrae
2024-02-02 11:38:06 +00:00
committed by Carles Cufi
parent c3f5ed8157
commit d0d434bf86

View File

@@ -279,7 +279,7 @@ if(DEFINED BOARD_REVISION)
endif()
if(DEFINED BOARD_IDENTIFIER)
string(REGEX REPLACE "^/" "variant: " board_message_identifier "${BOARD_IDENTIFIER}")
string(REGEX REPLACE "^/" "identifier: " board_message_identifier "${BOARD_IDENTIFIER}")
set(board_message "${board_message}, ${board_message_identifier}")
endif()