mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-02 06:50:34 +08:00
Condition the print load systemlib build correctly for all OS
This commit is contained in:
@@ -57,11 +57,12 @@ ifeq ($(PX4_TARGET_OS),nuttx)
|
||||
SRCS += err.c \
|
||||
printload.c \
|
||||
up_cxxinitialize.c
|
||||
else
|
||||
SRCS += print_load_posix.c
|
||||
endif
|
||||
|
||||
ifneq ($(PX4_TARGET_OS),qurt)
|
||||
SRCS += hx_stream.c \
|
||||
print_load_posix.c
|
||||
SRCS += hx_stream.c
|
||||
endif
|
||||
|
||||
MAXOPTIMIZATION = -Os
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
****************************************************************************/
|
||||
|
||||
/**
|
||||
* @file printload.c
|
||||
* @file print_load_posix.c
|
||||
*
|
||||
* Print the current system load.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user