mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 01:12:11 +00:00
cmake only init cmake_hexagon if used
This commit is contained in:
@@ -124,7 +124,6 @@ execute_process(
|
|||||||
WORKING_DIRECTORY ${PX4_SOURCE_DIR}
|
WORKING_DIRECTORY ${PX4_SOURCE_DIR}
|
||||||
)
|
)
|
||||||
|
|
||||||
px4_add_git_submodule(TARGET git_cmake_hexagon PATH "cmake/cmake_hexagon")
|
|
||||||
px4_add_git_submodule(TARGET git_uavcan_board_ident PATH "cmake/configs/uavcan_board_ident")
|
px4_add_git_submodule(TARGET git_uavcan_board_ident PATH "cmake/configs/uavcan_board_ident")
|
||||||
px4_add_git_submodule(TARGET git_ecl PATH "src/lib/ecl")
|
px4_add_git_submodule(TARGET git_ecl PATH "src/lib/ecl")
|
||||||
px4_add_git_submodule(TARGET git_matrix PATH "src/lib/matrix")
|
px4_add_git_submodule(TARGET git_matrix PATH "src/lib/matrix")
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
|
include(common/px4_git)
|
||||||
|
px4_add_git_submodule(TARGET git_cmake_hexagon PATH "cmake/cmake_hexagon")
|
||||||
|
|
||||||
include(posix/px4_impl_posix)
|
include(posix/px4_impl_posix)
|
||||||
|
|
||||||
# Get $QC_SOC_TARGET from environment if existing.
|
# Get $QC_SOC_TARGET from environment if existing.
|
||||||
@@ -83,4 +86,4 @@ set(config_module_list
|
|||||||
platforms/common
|
platforms/common
|
||||||
platforms/posix/px4_layer
|
platforms/posix/px4_layer
|
||||||
platforms/posix/work_queue
|
platforms/posix/work_queue
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
|
include(common/px4_git)
|
||||||
|
px4_add_git_submodule(TARGET git_cmake_hexagon PATH "cmake/cmake_hexagon")
|
||||||
|
|
||||||
include(posix/px4_impl_posix)
|
include(posix/px4_impl_posix)
|
||||||
|
|
||||||
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${PX4_SOURCE_DIR}/cmake/cmake_hexagon")
|
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${PX4_SOURCE_DIR}/cmake/cmake_hexagon")
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
|
include(common/px4_git)
|
||||||
|
px4_add_git_submodule(TARGET git_cmake_hexagon PATH "cmake/cmake_hexagon")
|
||||||
|
|
||||||
include(qurt/px4_impl_qurt)
|
include(qurt/px4_impl_qurt)
|
||||||
|
|
||||||
if ("$ENV{HEXAGON_SDK_ROOT}" STREQUAL "")
|
if ("$ENV{HEXAGON_SDK_ROOT}" STREQUAL "")
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
|
include(common/px4_git)
|
||||||
|
px4_add_git_submodule(TARGET git_cmake_hexagon PATH "cmake/cmake_hexagon")
|
||||||
|
|
||||||
include(qurt/px4_impl_qurt)
|
include(qurt/px4_impl_qurt)
|
||||||
|
|
||||||
if ("$ENV{HEXAGON_SDK_ROOT}" STREQUAL "")
|
if ("$ENV{HEXAGON_SDK_ROOT}" STREQUAL "")
|
||||||
|
|||||||
Reference in New Issue
Block a user