mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-02 15:21:35 +08:00
param gen reorganize and fix DISABLE_PARAMS_MODULE_SCOPING
This commit is contained in:
@@ -95,10 +95,8 @@ function(px4_qurt_generate_builtin_commands)
|
||||
math(EXPR command_count "${command_count}+1")
|
||||
endif()
|
||||
endforeach()
|
||||
configure_file(${PX4_SOURCE_DIR}/src/platforms/apps.cpp.in
|
||||
${OUT}.cpp)
|
||||
configure_file(${PX4_SOURCE_DIR}/src/platforms/apps.h.in
|
||||
${OUT}.h)
|
||||
configure_file(${PX4_SOURCE_DIR}/src/platforms/apps.cpp.in ${OUT}.cpp)
|
||||
configure_file(${PX4_SOURCE_DIR}/src/platforms/apps.h.in ${OUT}.h)
|
||||
endfunction()
|
||||
|
||||
#=============================================================================
|
||||
@@ -181,8 +179,8 @@ function(px4_os_add_flags)
|
||||
)
|
||||
|
||||
# Add the toolchain specific flags
|
||||
set(added_cflags -O0)
|
||||
set(added_cxx_flags -O0)
|
||||
set(added_cflags)
|
||||
set(added_cxx_flags)
|
||||
|
||||
# Clear -rdynamic flag which fails for hexagon
|
||||
set(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "")
|
||||
|
||||
Reference in New Issue
Block a user