small bugfix

This commit is contained in:
Robin Müller 2020-12-29 12:22:35 +01:00
parent 33b48e97a3
commit 6666ae0e3e
2 changed files with 5 additions and 8 deletions

View File

@ -52,17 +52,14 @@ if(CMAKE_CROSSCOMPILING)
) )
endif() endif()
if(${TGT_BSP} MATCHES "arm/raspberrypi" OR ${TGT_BSP} MATCHES "arm/q7s")
set(BSP_PATH "bsp_linux") if(TGT_BSP)
if (${TGT_BSP} MATCHES "arm/raspberrypi" OR ${TGT_BSP} MATCHES "arm/q7s")
else() # set(BSP_PATH "bsp_linux")
else()
if(TGT_BSP)
message(WARNING "CMake not configured for this target!") message(WARNING "CMake not configured for this target!")
message(FATAL_ERROR "Target: ${TGT_BSP}!") message(FATAL_ERROR "Target: ${TGT_BSP}!")
endif() endif()
endif() endif()
set(BSP_PATH ${BSP_PATH} PARENT_SCOPE) set(BSP_PATH ${BSP_PATH} PARENT_SCOPE)

2
fsfw

@ -1 +1 @@
Subproject commit 426514b9a29274f46ea3723c8ef17c989c70bdac Subproject commit 5b9c0e013e35ab1353d402c6fa2cd75866e3afa5