PX4: fixed build with uavcan dependence on mavlink
This commit is contained in:
parent
1d5deed72a
commit
d8f08591d5
@ -43,6 +43,8 @@ EXTRAFLAGS += -DUAVCAN=1
|
|||||||
# Add missing parts from libc and libstdc++
|
# Add missing parts from libc and libstdc++
|
||||||
EXTRAFLAGS += -DHAVE_STD_NULLPTR_T=0
|
EXTRAFLAGS += -DHAVE_STD_NULLPTR_T=0
|
||||||
|
|
||||||
|
EXTRAFLAGS += -I$(BUILDROOT)/libraries/GCS_MAVLink/include/mavlink
|
||||||
|
|
||||||
# we have different config files for V1 and V2
|
# we have different config files for V1 and V2
|
||||||
PX4_V1_CONFIG_FILE=$(MK_DIR)/PX4/config_px4fmu-v1_APM.mk
|
PX4_V1_CONFIG_FILE=$(MK_DIR)/PX4/config_px4fmu-v1_APM.mk
|
||||||
PX4_V2_CONFIG_FILE=$(MK_DIR)/PX4/config_px4fmu-v2_APM.mk
|
PX4_V2_CONFIG_FILE=$(MK_DIR)/PX4/config_px4fmu-v2_APM.mk
|
||||||
|
Loading…
Reference in New Issue
Block a user