2016-05-05 09:11:59 +02:00
|
|
|
# The Eagle board is the first generation Snapdragon Flight board by Qualcomm.
|
|
|
|
|
#
|
|
|
|
|
# This cmake config builds for POSIX, so the part of the flight stack running
|
|
|
|
|
# on the Linux side of the Snapdragon.
|
2016-05-02 14:53:24 -07:00
|
|
|
include(configs/posix_sdflight_default)
|
2015-09-10 21:52:55 -07:00
|
|
|
|
2016-08-05 21:29:49 +02:00
|
|
|
set(CMAKE_TOOLCHAIN_FILE ${CMAKE_SOURCE_DIR}/cmake/cmake_hexagon/toolchain/Toolchain-arm-linux-gnueabihf.cmake)
|
2016-04-29 21:22:34 +05:30
|
|
|
|
2016-08-05 21:29:49 +02:00
|
|
|
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/cmake_hexagon")
|
2016-04-29 21:22:34 +05:30
|
|
|
|
|
|
|
|
set(CONFIG_SHMEM "1")
|
|
|
|
|
|
|
|
|
|
# This definition allows to differentiate if this just the usual POSIX build
|
|
|
|
|
# or if it is for the Snapdragon.
|
2016-03-27 10:43:41 +02:00
|
|
|
add_definitions(
|
2016-03-22 20:18:48 +01:00
|
|
|
-D__PX4_POSIX_EAGLE
|
2016-05-05 09:11:59 +02:00
|
|
|
)
|