[cmake]: added initial support for MSYS2

Currently concerns only arm.

tools/ci/testlist/msys2.dat:
At the moment I only added the board nucleo-l152re:nsh

.github/workflows/build.yml:
Enabled cmake for msys2
This commit is contained in:
simbit18
2024-08-21 14:57:09 +02:00
committed by Xiang Xiao
parent 3fa6cfc41e
commit 1661a66843
8 changed files with 146 additions and 20 deletions
+2 -2
View File
@@ -53,8 +53,8 @@ if(EXISTS ${NUTTX_BOARD_ABS_DIR}/../common/CMakeLists.txt)
# Create link ARCH_SRC_BOARD_BOARD_SYMLINK
file(MAKE_DIRECTORY ${CMAKE_BINARY_DIR}/arch/${CONFIG_ARCH}/src/board)
file(CREATE_LINK ${NUTTX_BOARD_ABS_DIR}/src
${CMAKE_BINARY_DIR}/arch/${CONFIG_ARCH}/src/board/board SYMBOLIC)
nuttx_create_symlink(${NUTTX_BOARD_ABS_DIR}/src
${CMAKE_BINARY_DIR}/arch/${CONFIG_ARCH}/src/board/board)
endif()
if(EXISTS ${NUTTX_BOARD_ABS_DIR}/../drivers/CMakeLists.txt)