added BBB support

This commit is contained in:
2021-05-05 20:25:52 +02:00
committed by Robin Mueller
parent 57d457c43e
commit 1a7186ee1e
24 changed files with 243 additions and 21 deletions

View File

@ -51,7 +51,14 @@ if(${OS_FSFW} STREQUAL linux AND TGT_BSP)
"${CMAKE_SCRIPT_PATH}/RPiCrossCompileConfig.cmake"
PARENT_SCOPE
)
else()
elseif(${TGT_BSP} MATCHES "arm/beagleboneblack")
if(LINUX_CROSS_COMPILE)
set(CMAKE_TOOLCHAIN_FILE
"${CMAKE_SCRIPT_PATH}/BBBCrossCompileConfig.cmake"
PARENT_SCOPE
)
endif()
else()
message(WARNING "Target BSP (TGT_BSP) ${TGT_BSP} unknown!")
endif()
endif()