set MODULE_NAME for parameters library and external ecl libraries (#9536)

This commit is contained in:
Daniel Agar 2018-05-27 14:36:41 -04:00 committed by GitHub
parent 2c7788060d
commit e8fa94126e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 1 deletions

@ -1 +1 @@
Subproject commit 50631e5d98e61093e85e798570503e4055e887ca
Subproject commit a80b3ab610f80319f63c6224f77b30cfedb93ccb

View File

@ -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)

View File

@ -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)

View File

@ -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)