px4-firmware/cmake/configs/posix_rpi_cross.cmake

14 lines
427 B
CMake
Raw Normal View History

include(configs/posix_rpi_common)
2016-01-17 12:06:50 -04:00
2016-07-19 18:12:09 -03:00
if("$ENV{RPI_USE_CLANG}" STREQUAL "1")
set(CMAKE_TOOLCHAIN_FILE ${PX4_SOURCE_DIR}/cmake/toolchains/Toolchain-arm-linux-gnueabihf-raspbian-clang.cmake)
2016-07-19 18:12:09 -03:00
else()
set(CMAKE_TOOLCHAIN_FILE ${PX4_SOURCE_DIR}/cmake/toolchains/Toolchain-arm-linux-gnueabihf-raspbian.cmake)
2016-07-19 18:12:09 -03:00
endif()
2016-01-17 13:14:20 -04:00
set(CMAKE_PROGRAM_PATH
2016-01-17 13:14:20 -04:00
"${RPI_TOOLCHAIN_DIR}/gcc-linaro-arm-linux-gnueabihf-raspbian/bin"
${CMAKE_PROGRAM_PATH}
2016-06-24 14:42:04 -03:00
)