Skip to content

Commit

Permalink
use python2 explicitly as python3 is default python now
Browse files Browse the repository at this point in the history
  • Loading branch information
bugobliterator committed Jan 14, 2020
1 parent 426e910 commit 1f5c8cb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/gps/module.mk
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ INCDIR += $(BUILDDIR)/ubx_msgs/include

$(BUILDDIR)/ubx_msgs.mk: $(GPS_MODULE_DIR)/ubx_parser
rm -rf $(BUILDDIR)/ubx_msgs
python $(GPS_MODULE_DIR)/ubx_parser/ubx_pdf_csv_parser.py $(addprefix --build=,$(UBX_MESSAGES_ENABLED)) $(BUILDDIR)/ubx_msgs
python2 $(GPS_MODULE_DIR)/ubx_parser/ubx_pdf_csv_parser.py $(addprefix --build=,$(UBX_MESSAGES_ENABLED)) $(BUILDDIR)/ubx_msgs
find $(BUILDDIR)/ubx_msgs/src -name "*.c" | xargs echo CSRC += > $(BUILDDIR)/ubx_msgs.mk

ifneq ($(MAKECMDGOALS),clean)
Expand Down
2 changes: 1 addition & 1 deletion modules/uavcan/module.mk
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ INCDIR += $(BUILDDIR)/dsdlc/include

$(BUILDDIR)/dsdlc.mk: $(foreach dsdl_dir,$(wildcard $(DSDL_NAMESPACE_DIRS)),$(shell find $(dsdl_dir)))
rm -rf $(BUILDDIR)/dsdlc
python $(UAVCAN_MODULE_DIR)/canard_dsdlc/canard_dsdlc.py $(addprefix --build=,$(MESSAGES_ENABLED)) $(DSDL_NAMESPACE_DIRS) $(BUILDDIR)/dsdlc
python2 $(UAVCAN_MODULE_DIR)/canard_dsdlc/canard_dsdlc.py $(addprefix --build=,$(MESSAGES_ENABLED)) $(DSDL_NAMESPACE_DIRS) $(BUILDDIR)/dsdlc
find $(BUILDDIR)/dsdlc/src -name "*.c" | xargs echo CSRC += > $(BUILDDIR)/dsdlc.mk

ifneq ($(MAKECMDGOALS),clean)
Expand Down

0 comments on commit 1f5c8cb

Please sign in to comment.