cmake: boards: Fix missing board name

Fixes an issue whereby the board name was missing

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
This commit is contained in:
Jamie McCrae 2024-04-24 07:57:33 +01:00 committed by Anas Nashif
parent 1327ff92f5
commit 23551eb05a
1 changed files with 1 additions and 1 deletions

View File

@ -319,7 +319,7 @@ elseif(HWMv2)
unset(CACHED_BOARD CACHE)
message(FATAL_ERROR "Board qualifiers `${BOARD_QUALIFIERS}` for board \
`${BOARD}` not found. Please specify a valid board target.\n"
"Valid board targets for ${BOARD_NAME} are:\n${board_targets}\n")
"Valid board targets for ${LIST_BOARD_NAME} are:\n${board_targets}\n")
endif()
endif()
else()