mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
parameters lib always depend on prebuild_targets
This commit is contained in:
parent
6b8ea8e543
commit
7ceb79d606
@ -122,7 +122,6 @@ if (NOT "${CONFIG}" MATCHES "px4io")
|
||||
px4_parameters.h
|
||||
px4_parameters_public.h
|
||||
)
|
||||
add_dependencies(parameters prebuild_targets)
|
||||
|
||||
if ("${CONFIG_SHMEM}" STREQUAL "1")
|
||||
target_link_libraries(parameters PRIVATE px4_layer)
|
||||
@ -134,6 +133,7 @@ if (NOT "${CONFIG}" MATCHES "px4io")
|
||||
else()
|
||||
add_library(parameters ${PX4_SOURCE_DIR}/src/platforms/empty.c)
|
||||
endif()
|
||||
add_dependencies(parameters prebuild_targets)
|
||||
|
||||
if(${OS} STREQUAL "nuttx")
|
||||
target_link_libraries(parameters PRIVATE flashparams)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user