Skip to content

Commit

Permalink
Add explicit python*2* to sw/ext/Makefile mavlink target (paparazzi#2644
Browse files Browse the repository at this point in the history
)

Add explicit python*2* instead of python to mavlink build target in sw/ext/Makefile after bug report from @matteobarbera 

@matteobarbera : can you test this PR to see if it fixes the problem?
  • Loading branch information
tomvand authored Jan 13, 2021
1 parent da8818b commit 244f212
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sw/ext/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ mavlink: mavlink.update mavlink.build

mavlink.build:
@echo GENERATE $(PAPARAZZI_SRC)/var/include/mavlink
$(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
$(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

libsbp: libsbp.update

Expand Down

0 comments on commit 244f212

Please sign in to comment.