cmake remove need for platform px4_add_board_os

- explicitly set TOOLCHAIN on all NuttX targets
This commit is contained in:
Daniel Agar
2018-11-23 10:01:03 -05:00
committed by David Sidrane
parent f22f331e4a
commit fa0fe4cac6
40 changed files with 80 additions and 373 deletions

View File

@@ -3,7 +3,10 @@
include(px4_git)
px4_add_git_submodule(TARGET git_cmake_hexagon PATH "${PX4_SOURCE_DIR}/boards/atlflight/cmake_hexagon")
list(APPEND CMAKE_MODULE_PATH "${PX4_SOURCE_DIR}/boards/atlflight/cmake_hexagon")
list(APPEND CMAKE_MODULE_PATH
"${PX4_SOURCE_DIR}/boards/atlflight/cmake_hexagon"
"${PX4_SOURCE_DIR}/boards/atlflight/cmake_hexagon/toolchain"
)
# Get $QC_SOC_TARGET from environment if existing.
if (DEFINED ENV{QC_SOC_TARGET})
@@ -32,8 +35,7 @@ px4_add_board(
MODEL excelsior
LABEL default
TESTING
TOOLCHAIN
toolchain/Toolchain-arm-oemllib32-linux-gnueabi
TOOLCHAIN arm-oemllib32-linux-gnueabi
DRIVERS
#barometer # all available barometer drivers