forked from Archive/PX4-Autopilot
POSIX: Fix build for non-trace builds
This commit is contained in:
parent
6088fbb9be
commit
01fc570351
|
@ -47,7 +47,7 @@ USE_GCC?=0
|
||||||
ifeq ($(PX4_DEBUG_LEVEL),)
|
ifeq ($(PX4_DEBUG_LEVEL),)
|
||||||
VERBOSITY_LEVEL=
|
VERBOSITY_LEVEL=
|
||||||
else
|
else
|
||||||
VERBOSITY_LEVEL=$(PX4_DEBUG_LEVEL)
|
VERBOSITY_LEVEL=-D$(PX4_DEBUG_LEVEL)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq ($(USE_GCC),1)
|
ifneq ($(USE_GCC),1)
|
||||||
|
@ -127,7 +127,7 @@ $(error Board config does not define CONFIG_BOARD)
|
||||||
endif
|
endif
|
||||||
ARCHDEFINES += -DCONFIG_ARCH_BOARD_$(CONFIG_BOARD) \
|
ARCHDEFINES += -DCONFIG_ARCH_BOARD_$(CONFIG_BOARD) \
|
||||||
-Dnoreturn_function=__attribute__\(\(noreturn\)\) \
|
-Dnoreturn_function=__attribute__\(\(noreturn\)\) \
|
||||||
-D$(VERBOSITY_LEVEL) \
|
$(VERBOSITY_LEVEL)\
|
||||||
-I$(PX4_BASE)/src/modules/systemlib \
|
-I$(PX4_BASE)/src/modules/systemlib \
|
||||||
-I$(PX4_BASE)/src/lib/eigen \
|
-I$(PX4_BASE)/src/lib/eigen \
|
||||||
-I$(PX4_BASE)/src/platforms/posix/include \
|
-I$(PX4_BASE)/src/platforms/posix/include \
|
||||||
|
|
Loading…
Reference in New Issue