esp8266: Make work with python 3 as default python impl.

This commit is contained in:
Scott Shawcroft 2016-11-28 19:47:59 -08:00
parent 77db3d450e
commit 6292f937da

View File

@ -224,7 +224,7 @@ reset:
$(BUILD)/firmware-combined.bin: $(BUILD)/firmware.elf
$(ECHO) "Create $@"
$(Q)esptool.py elf2image $^
$(Q)python2 $(shell which esptool.py) elf2image $^
$(Q)$(PYTHON) makeimg.py $(BUILD)/firmware.elf-0x00000.bin $(BUILD)/firmware.elf-0x0[1-f]000.bin $@
$(BUILD)/firmware.elf: $(OBJ)