Skip to content

Commit

Permalink
cmake: print identifier instead of variant
Browse files Browse the repository at this point in the history
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: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
  • Loading branch information
tejlmand authored and nordicjm committed Jan 22, 2024
1 parent 597b37b commit c6300d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/modules/boards.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit c6300d2

Please sign in to comment.