PX4: fixed build with uavcan dependence on mavlink

This commit is contained in:
Andrew Tridgell 2016-04-11 16:44:51 +10:00
parent 1d5deed72a
commit d8f08591d5

View File

@ -43,6 +43,8 @@ EXTRAFLAGS += -DUAVCAN=1
# Add missing parts from libc and libstdc++
EXTRAFLAGS += -DHAVE_STD_NULLPTR_T=0
EXTRAFLAGS += -I$(BUILDROOT)/libraries/GCS_MAVLink/include/mavlink
# we have different config files for V1 and V2
PX4_V1_CONFIG_FILE=$(MK_DIR)/PX4/config_px4fmu-v1_APM.mk
PX4_V2_CONFIG_FILE=$(MK_DIR)/PX4/config_px4fmu-v2_APM.mk