Condition the print load systemlib build correctly for all OS

This commit is contained in:
Lorenz Meier 2015-08-23 13:38:37 +02:00
parent 8d9d6c11ea
commit 4aec25724e
2 changed files with 4 additions and 3 deletions

View File

@ -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

View File

@ -32,7 +32,7 @@
****************************************************************************/
/**
* @file printload.c
* @file print_load_posix.c
*
* Print the current system load.
*