forked from Archive/PX4-Autopilot
61 lines
1.0 KiB
CMake
61 lines
1.0 KiB
CMake
include(qurt/px4_impl_qurt)
|
|
|
|
if ("$ENV{HEXAGON_SDK_ROOT}" STREQUAL "")
|
|
message(FATAL_ERROR "Enviroment variable HEXAGON_SDK_ROOT must be set")
|
|
else()
|
|
set(HEXAGON_SDK_ROOT $ENV{HEXAGON_SDK_ROOT})
|
|
endif()
|
|
|
|
set(config_generate_parameters_scope ALL)
|
|
|
|
# Get $QC_SOC_TARGET from environment if existing.
|
|
if (DEFINED ENV{QC_SOC_TARGET})
|
|
set(QC_SOC_TARGET $ENV{QC_SOC_TARGET})
|
|
else()
|
|
set(QC_SOC_TARGET "APQ8074")
|
|
endif()
|
|
|
|
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${PX4_SOURCE_DIR}/cmake/cmake_hexagon")
|
|
include(toolchain/Toolchain-qurt)
|
|
include(qurt_flags)
|
|
include_directories(${HEXAGON_SDK_INCLUDES})
|
|
|
|
set(config_module_list
|
|
drivers/device
|
|
|
|
#
|
|
# System commands
|
|
#
|
|
systemcmds/param
|
|
|
|
#
|
|
# Library modules
|
|
#
|
|
modules/param
|
|
modules/systemlib
|
|
modules/uORB
|
|
|
|
#
|
|
# Libraries
|
|
#
|
|
lib/mathlib
|
|
lib/mathlib/math/filter
|
|
lib/geo
|
|
lib/geo_lookup
|
|
lib/conversion
|
|
lib/DriverFramework/framework
|
|
|
|
#
|
|
# QuRT port
|
|
#
|
|
platforms/common
|
|
platforms/qurt/px4_layer
|
|
platforms/posix/work_queue
|
|
platforms/qurt/tests/muorb
|
|
|
|
#
|
|
# sources for muorb over fastrpc
|
|
#
|
|
modules/muorb/adsp
|
|
)
|