mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-17 11:00:34 +08:00
Added more eagle build configurations
The config_qurt_eagle_travis.cmake target is for CI Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
@@ -34,6 +34,7 @@ set_target_properties(mainapp PROPERTIES LINK_FLAGS ${main_link_flags})
|
||||
target_link_libraries(mainapp
|
||||
-Wl,--whole-archive
|
||||
${module_libraries}
|
||||
${target_libraries}
|
||||
m
|
||||
-Wl,--no-whole-archive
|
||||
-Wl,${TOOLSLIB}/pic/libstdc++.a)
|
||||
|
||||
@@ -46,7 +46,18 @@ if ("${QURT_ENABLE_STUBS}" STREQUAL "1")
|
||||
)
|
||||
endif()
|
||||
|
||||
set(CONFIG_SRC commands_${BOARD}.c)
|
||||
# For Eagle, the commands are specific to the build config label
|
||||
# e.g. config_qurt_eagle_hil uses commands_hil.c
|
||||
if ("${BOARD}" STREQUAL "eagle")
|
||||
|
||||
# The CI test target can use the hil commands
|
||||
if ("${LABEL}" STREQUAL "travis")
|
||||
set(CONFIG_SRC commands_hil.c)
|
||||
else("${LABEL}" STREQUAL "travis")
|
||||
set(CONFIG_SRC commands_${LABEL}.c)
|
||||
endif()
|
||||
|
||||
endif()
|
||||
|
||||
px4_add_module(
|
||||
MODULE platforms__qurt__px4_layer
|
||||
|
||||
Reference in New Issue
Block a user