2017-01-12 16:29:41 -04:00
|
|
|
# Eagle is the code name of a board currently in development.
|
|
|
|
#
|
|
|
|
# This cmake config builds for POSIX, so the part of the flight stack running
|
|
|
|
# on the Linux side of the Snapdragon.
|
2016-04-15 21:38:24 -03:00
|
|
|
|
2017-01-12 16:29:41 -04:00
|
|
|
include(configs/posix_sdflight_legacy)
|
2016-10-14 06:52:15 -03:00
|
|
|
|
2017-01-12 16:29:41 -04:00
|
|
|
set(CMAKE_TOOLCHAIN_FILE ${PX4_SOURCE_DIR}/cmake/cmake_hexagon/toolchain/Toolchain-arm-linux-gnueabihf.cmake)
|
2016-04-15 21:38:24 -03:00
|
|
|
|
|
|
|
# This definition allows to differentiate if this just the usual POSIX build
|
|
|
|
# or if it is for the Snapdragon.
|
|
|
|
add_definitions(
|
2017-01-12 16:29:41 -04:00
|
|
|
-D__PX4_POSIX_EAGLE
|
2016-05-27 01:21:37 -03:00
|
|
|
-D__USING_SNAPDRAGON_LEGACY_DRIVER
|
2017-01-12 16:29:41 -04:00
|
|
|
)
|