mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
cmake: Unbreak all qurt and posix targets
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
parent
d5a404896d
commit
5aa3c45b63
@ -2,7 +2,12 @@ include(nuttx/px4_impl_nuttx)
|
||||
|
||||
message(WARNING "this is a work in progress and doesn't build yet")
|
||||
|
||||
function(px4_get_config out_module_list)
|
||||
function(px4_get_config)
|
||||
|
||||
px4_parse_function_args(
|
||||
NAME px4_set_config_modules
|
||||
ONE_VALUE OUT_MODULES OUT_FW_OPTS OUT_EXTRA_CMDS
|
||||
ARGN ${ARGN})
|
||||
|
||||
set(config_module_list
|
||||
platforms/nuttx
|
||||
|
||||
@ -1,6 +1,11 @@
|
||||
include(posix/px4_impl_posix-arm)
|
||||
|
||||
function(px4_get_config out_module_list)
|
||||
function(px4_get_config)
|
||||
|
||||
px4_parse_function_args(
|
||||
NAME px4_set_config_modules
|
||||
ONE_VALUE OUT_MODULES OUT_FW_OPTS OUT_EXTRA_CMDS
|
||||
ARGN ${ARGN})
|
||||
|
||||
set(config_module_list
|
||||
drivers/device
|
||||
|
||||
@ -1,6 +1,11 @@
|
||||
include(posix/px4_impl_posix-arm)
|
||||
|
||||
function(px4_get_config out_module_list)
|
||||
function(px4_get_config)
|
||||
|
||||
px4_parse_function_args(
|
||||
NAME px4_set_config_modules
|
||||
ONE_VALUE OUT_MODULES OUT_FW_OPTS OUT_EXTRA_CMDS
|
||||
ARGN ${ARGN})
|
||||
|
||||
set(config_module_list
|
||||
drivers/device
|
||||
|
||||
@ -1,6 +1,11 @@
|
||||
include(posix/px4_impl_posix-arm)
|
||||
|
||||
function(px4_get_config out_module_list)
|
||||
function(px4_get_config)
|
||||
|
||||
px4_parse_function_args(
|
||||
NAME px4_set_config_modules
|
||||
ONE_VALUE OUT_MODULES OUT_FW_OPTS OUT_EXTRA_CMDS
|
||||
ARGN ${ARGN})
|
||||
|
||||
set(config_module_list
|
||||
drivers/device
|
||||
|
||||
@ -1,6 +1,11 @@
|
||||
include(posix/px4_impl_posix-arm)
|
||||
|
||||
function(px4_get_config out_module_list)
|
||||
function(px4_get_config)
|
||||
|
||||
px4_parse_function_args(
|
||||
NAME px4_set_config_modules
|
||||
ONE_VALUE OUT_MODULES OUT_FW_OPTS OUT_EXTRA_CMDS
|
||||
ARGN ${ARGN})
|
||||
|
||||
set(config_module_list
|
||||
drivers/device
|
||||
|
||||
@ -1,6 +1,12 @@
|
||||
include(qurt/px4_impl_qurt)
|
||||
|
||||
function(px4_get_config out_module_list)
|
||||
function(px4_get_config)
|
||||
|
||||
px4_parse_function_args(
|
||||
NAME px4_set_config_modules
|
||||
ONE_VALUE OUT_MODULES
|
||||
REQUIRED OUT_MODULES
|
||||
ARGN ${ARGN})
|
||||
|
||||
set(config_module_list
|
||||
drivers/device
|
||||
@ -26,5 +32,8 @@ function(px4_get_config out_module_list)
|
||||
)
|
||||
set(${out_module_list} ${config_module_list} PARENT_SCOPE)
|
||||
|
||||
# output
|
||||
set(${OUT_MODULES} ${config_module_list} PARENT_SCOPE)
|
||||
|
||||
endfunction()
|
||||
|
||||
|
||||
@ -1,6 +1,12 @@
|
||||
include(qurt/px4_impl_qurt)
|
||||
|
||||
function(px4_get_config out_module_list)
|
||||
function(px4_get_config)
|
||||
|
||||
px4_parse_function_args(
|
||||
NAME px4_set_config_modules
|
||||
ONE_VALUE OUT_MODULES
|
||||
REQUIRED OUT_MODULES
|
||||
ARGN ${ARGN})
|
||||
|
||||
set(config_module_list
|
||||
drivers/device
|
||||
@ -60,7 +66,8 @@ function(px4_get_config out_module_list)
|
||||
#
|
||||
modules/muorb/adsp
|
||||
)
|
||||
set(${out_module_list} ${config_module_list} PARENT_SCOPE)
|
||||
|
||||
set(${OUT_MODULES} ${config_module_list} PARENT_SCOPE)
|
||||
|
||||
endfunction()
|
||||
|
||||
|
||||
@ -1,6 +1,12 @@
|
||||
include(qurt/px4_impl_qurt)
|
||||
|
||||
function(px4_get_config out_module_list)
|
||||
function(px4_get_config)
|
||||
|
||||
px4_parse_function_args(
|
||||
NAME px4_set_config_modules
|
||||
ONE_VALUE OUT_MODULES
|
||||
REQUIRED
|
||||
ARGN ${ARGN})
|
||||
|
||||
set(config_module_list
|
||||
drivers/device
|
||||
@ -38,7 +44,7 @@ function(px4_get_config out_module_list)
|
||||
#
|
||||
modules/muorb/adsp
|
||||
)
|
||||
set(${out_module_list} ${config_module_list} PARENT_SCOPE)
|
||||
set(${OUT_MODULES} ${config_module_list} PARENT_SCOPE)
|
||||
|
||||
endfunction()
|
||||
|
||||
|
||||
@ -19,7 +19,13 @@ set(target_libraries
|
||||
rc_receiver
|
||||
)
|
||||
|
||||
function(px4_get_config out_module_list)
|
||||
function(px4_get_config)
|
||||
|
||||
px4_parse_function_args(
|
||||
NAME px4_set_config_modules
|
||||
ONE_VALUE OUT_MODULES
|
||||
REQUIRED OUT_MODULES
|
||||
ARGN ${ARGN})
|
||||
|
||||
set(config_module_list
|
||||
#
|
||||
@ -81,6 +87,6 @@ function(px4_get_config out_module_list)
|
||||
#
|
||||
modules/muorb/adsp
|
||||
)
|
||||
set(${out_module_list} ${config_module_list} PARENT_SCOPE)
|
||||
set(${OUT_MODULES} ${config_module_list} PARENT_SCOPE)
|
||||
|
||||
endfunction()
|
||||
|
||||
@ -1,6 +1,12 @@
|
||||
include(qurt/px4_impl_qurt)
|
||||
|
||||
function(px4_get_config out_module_list)
|
||||
function(px4_get_config)
|
||||
|
||||
px4_parse_function_args(
|
||||
NAME px4_set_config_modules
|
||||
ONE_VALUE OUT_MODULES
|
||||
REQUIRED OUT_MODULES
|
||||
ARGN ${ARGN})
|
||||
|
||||
set(config_module_list
|
||||
drivers/device
|
||||
@ -35,7 +41,7 @@ function(px4_get_config out_module_list)
|
||||
platforms/qurt/tests/hrt_test
|
||||
platforms/qurt/tests/wqueue
|
||||
)
|
||||
set(${out_module_list} ${config_module_list} PARENT_SCOPE)
|
||||
set(${OUT_MODULES} ${config_module_list} PARENT_SCOPE)
|
||||
|
||||
endfunction()
|
||||
|
||||
|
||||
@ -3,7 +3,13 @@ include(qurt/px4_impl_qurt)
|
||||
# Run a full link with build stubs to make sure qurt target isn't broken
|
||||
set(QURT_ENABLE_STUBS 1)
|
||||
|
||||
function(px4_get_config out_module_list)
|
||||
function(px4_get_config)
|
||||
|
||||
px4_parse_function_args(
|
||||
NAME px4_set_config_modules
|
||||
ONE_VALUE OUT_MODULES
|
||||
REQUIRED OUT_MODULES
|
||||
ARGN ${ARGN})
|
||||
|
||||
set(config_module_list
|
||||
drivers/device
|
||||
@ -63,7 +69,7 @@ function(px4_get_config out_module_list)
|
||||
#
|
||||
modules/muorb/adsp
|
||||
)
|
||||
set(${out_module_list} ${config_module_list} PARENT_SCOPE)
|
||||
set(${OUT_MODULES} ${config_module_list} PARENT_SCOPE)
|
||||
|
||||
endfunction()
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user