fix and update mavlink (#2920)

* fix and update mavlink

* Remove mavlink from default build target.

* remove mavlink from default Makefile target.

Co-authored-by: Fabien-B <fabien.bonneval@gmal.com>
This commit is contained in:
Fabien-B
2022-10-26 23:26:37 +02:00
committed by GitHub
parent 9ed429c061
commit 6e6bc37d1d
4 changed files with 8 additions and 6 deletions
+2 -2
View File
@@ -33,7 +33,7 @@ EXT_DIR=$(PAPARAZZI_SRC)/sw/ext
include $(PAPARAZZI_SRC)/conf/Makefile.arm-embedded-toolchain
all: libopencm3 luftboot chibios fatfs libsbp mavlink TRICAL hacl-c key_generator rustlink ecl matrix
all: libopencm3 luftboot chibios fatfs libsbp TRICAL hacl-c key_generator rustlink ecl matrix
# update (and init if needed) all submodules
update_submodules:
@@ -91,7 +91,7 @@ mavlink: mavlink.update mavlink.build
mavlink.build:
@echo GENERATE $(PAPARAZZI_SRC)/var/include/mavlink
$(Q)PYTHONPATH=$(EXT_DIR)/mavlink python2 $(EXT_DIR)/mavlink/pymavlink/tools/mavgen.py --output $(PAPARAZZI_SRC)/var/include/mavlink --lang C $(EXT_DIR)/mavlink/message_definitions/v1.0/paparazzi.xml --no-validate > /dev/null
$(Q)PYTHONPATH=$(EXT_DIR)/mavlink python $(EXT_DIR)/mavlink/pymavlink/tools/mavgen.py --output $(PAPARAZZI_SRC)/var/include/mavlink --lang C $(EXT_DIR)/mavlink/message_definitions/v1.0/paparazzi.xml --no-validate > /dev/null
libsbp: libsbp.update