mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-18 00:23:34 +08:00
QuRT: fixes to unbreak cmake build for QuRT
Updated DSPAL version. Fixed missing lib in config. Fixed heafers for missing timespec definition. Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
@@ -510,9 +510,12 @@ function(px4_add_common_flags)
|
||||
endif()
|
||||
|
||||
if (${CMAKE_C_COMPILER_ID} STREQUAL "Clang")
|
||||
list(APPEND warnings
|
||||
-Wno-unused-const-variable
|
||||
)
|
||||
# QuRT 6.4.X compiler identifies as Clang but does not support this option
|
||||
if (NOT ${OS} STREQUAL "qurt")
|
||||
list(APPEND warnings
|
||||
-Wno-unused-const-variable
|
||||
)
|
||||
endif()
|
||||
else()
|
||||
list(APPEND warnings
|
||||
-Werror=unused-but-set-variable
|
||||
|
||||
@@ -41,6 +41,7 @@ set(config_module_list
|
||||
modules/systemlib/mixer
|
||||
modules/uORB
|
||||
modules/commander
|
||||
modules/controllib
|
||||
|
||||
#
|
||||
# Libraries
|
||||
@@ -50,7 +51,7 @@ set(config_module_list
|
||||
lib/geo
|
||||
lib/geo_lookup
|
||||
lib/conversion
|
||||
modules/controllib
|
||||
lib/ecl
|
||||
|
||||
#
|
||||
# QuRT port
|
||||
|
||||
Reference in New Issue
Block a user