mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-14 03:00:34 +08:00
cmake: Updated makefie to show the available build configs
Also fixed param support for nuttx and qurt Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
@@ -8,6 +8,8 @@ px4_nuttx_generate_builtin_commands(
|
||||
px4_nuttx_generate_romfs(OUT romfs.o
|
||||
ROOT ROMFS/px4fmu_common)
|
||||
|
||||
px4_generate_parameters()
|
||||
|
||||
# add executable
|
||||
add_executable(firmware_nuttx builtin_commands.c romfs.o)
|
||||
set(nuttx_export_dir ${CMAKE_BINARY_DIR}/${BOARD}/NuttX/nuttx-export)
|
||||
|
||||
@@ -14,6 +14,8 @@ px4_qurt_generate_builtin_commands(
|
||||
set(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "")
|
||||
set(CMAKE_SHARED_LIBRARY_LINK_CXX_FLAGS "")
|
||||
|
||||
px4_generate_parameters()
|
||||
|
||||
# Enable build without HexagonSDK to check link dependencies
|
||||
if ("${QURT_ENABLE_STUBS}" STREQUAL "1")
|
||||
add_executable(mainapp
|
||||
|
||||
Reference in New Issue
Block a user