forked from Archive/PX4-Autopilot
set MODULE_NAME for parameters library and external ecl libraries (#9536)
This commit is contained in:
parent
2c7788060d
commit
e8fa94126e
|
@ -1 +1 @@
|
|||
Subproject commit 50631e5d98e61093e85e798570503e4055e887ca
|
||||
Subproject commit a80b3ab610f80319f63c6224f77b30cfedb93ccb
|
|
@ -129,6 +129,7 @@ if (NOT "${CONFIG}" MATCHES "px4io")
|
|||
endif()
|
||||
|
||||
target_link_libraries(parameters PRIVATE perf tinybson)
|
||||
target_compile_definitions(parameters PRIVATE -DMODULE_NAME="parameters")
|
||||
target_compile_options(parameters PRIVATE -Wno-sign-compare) # TODO: fix this
|
||||
else()
|
||||
add_library(parameters ${PX4_SOURCE_DIR}/src/platforms/empty.c)
|
||||
|
|
|
@ -36,5 +36,6 @@ add_library(flashparams
|
|||
flashparams.c
|
||||
)
|
||||
add_dependencies(flashparams prebuild_targets)
|
||||
target_compile_definitions(flashparams PRIVATE -DMODULE_NAME="flashparams")
|
||||
target_compile_options(flashparams PRIVATE -Wno-sign-compare) # TODO: fix this
|
||||
target_link_libraries(flashparams PRIVATE nuttx_arch)
|
|
@ -32,5 +32,6 @@
|
|||
############################################################################
|
||||
|
||||
add_library(tinybson tinybson.c)
|
||||
target_compile_definitions(tinybson PRIVATE -DMODULE_NAME="tinybson")
|
||||
target_compile_options(tinybson PRIVATE -Wno-sign-compare) # TODO: fix this
|
||||
add_dependencies(tinybson prebuild_targets)
|
||||
|
|
Loading…
Reference in New Issue