mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 01:12:31 +00:00
These are some changes that I needed to compile most of the unsupported targets. After this all (make list_config_targets) compile for me except: posix_eagle_muorb, posix_sdflight_default and qurt_eagle_legacy_driver_default.
29 lines
607 B
CMake
29 lines
607 B
CMake
include(posix/px4_impl_posix)
|
|
|
|
set(CMAKE_TOOLCHAIN_FILE ${PX4_SOURCE_DIR}/cmake/cmake_hexagon/toolchain/Toolchain-arm-linux-gnueabihf.cmake)
|
|
|
|
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${PX4_SOURCE_DIR}/cmake/cmake_hexagon")
|
|
|
|
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(config_module_list
|
|
drivers/device
|
|
|
|
modules/uORB
|
|
|
|
lib/DriverFramework/framework
|
|
|
|
platforms/posix/px4_layer
|
|
platforms/posix/work_queue
|
|
|
|
modules/muorb/krait
|
|
)
|
|
|