You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
669 B
33 lines
669 B
|
|
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(DISABLE_PARAMS_MODULE_SCOPING TRUE) |
|
|
|
# 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 |
|
|
|
# |
|
# System commands |
|
# |
|
systemcmds/param |
|
|
|
# |
|
# Library modules |
|
# |
|
) |
|
|
|
|