From 01fc57035187a37f8962dc9a404d5f23ca3443fc Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Sun, 5 Jul 2015 14:01:17 +0200 Subject: [PATCH] POSIX: Fix build for non-trace builds --- makefiles/posix/toolchain_native.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/makefiles/posix/toolchain_native.mk b/makefiles/posix/toolchain_native.mk index b34038b5c3..088e123cb6 100644 --- a/makefiles/posix/toolchain_native.mk +++ b/makefiles/posix/toolchain_native.mk @@ -47,7 +47,7 @@ USE_GCC?=0 ifeq ($(PX4_DEBUG_LEVEL),) VERBOSITY_LEVEL= else -VERBOSITY_LEVEL=$(PX4_DEBUG_LEVEL) +VERBOSITY_LEVEL=-D$(PX4_DEBUG_LEVEL) endif ifneq ($(USE_GCC),1) @@ -127,7 +127,7 @@ $(error Board config does not define CONFIG_BOARD) endif ARCHDEFINES += -DCONFIG_ARCH_BOARD_$(CONFIG_BOARD) \ -Dnoreturn_function=__attribute__\(\(noreturn\)\) \ - -D$(VERBOSITY_LEVEL) \ + $(VERBOSITY_LEVEL)\ -I$(PX4_BASE)/src/modules/systemlib \ -I$(PX4_BASE)/src/lib/eigen \ -I$(PX4_BASE)/src/platforms/posix/include \