use new bbb x-compifle file

This commit is contained in:
Robin Müller 2021-05-01 18:06:40 +02:00
parent 1aa9918370
commit 8364ec3499

View File

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