Skip to content

Commit 687c5cc

Browse files
committed
[nrf fromtree] cmake: store board directories in build_info
The schema for build info already contained a `board:path` sequence tag definition, but boards.cmake did not populate this in the generated build_info.yml. Fix this by correctly populating the `board:path` with list of board directories. Signed-off-by: Torsten Rasmussen <[email protected]> (cherry picked from commit b78c269)
1 parent c6377b3 commit 687c5cc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmake/modules/boards.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -357,3 +357,4 @@ build_info(board name VALUE ${BOARD})
357357
string(REGEX REPLACE "^/" "" qualifiers "${BOARD_QUALIFIERS}")
358358
build_info(board qualifiers VALUE ${qualifiers})
359359
build_info(board revision VALUE ${BOARD_REVISION})
360+
build_info(board path PATH ${BOARD_DIRECTORIES})

0 commit comments

Comments
 (0)