From 3975ff332d53d27da7ff6c46922341036d59069f Mon Sep 17 00:00:00 2001 From: Brian Daniels Date: Fri, 9 Dec 2016 12:41:05 -0600 Subject: [PATCH] Adding quotes to echo statements This fixes an issue when make is ran inside the Windows command prompt --- tools/export/makefile/Makefile.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/export/makefile/Makefile.tmpl b/tools/export/makefile/Makefile.tmpl index b488ca4dcf..275d7bf5f9 100644 --- a/tools/export/makefile/Makefile.tmpl +++ b/tools/export/makefile/Makefile.tmpl @@ -127,7 +127,7 @@ $(PROJECT).elf: $(OBJECTS) $(SYS_OBJECTS) $(LINKER_SCRIPT) $(PROJECT).bin: $(PROJECT).elf {%- block elf2bin -%}{%- endblock %} -{% if not hex_files %} +@echo ===== bin file ready to flash: $(OBJDIR)/$@ ===== {% endif %} +{% if not hex_files %} +@echo "===== bin file ready to flash: $(OBJDIR)/$@ =====" {% endif %} $(PROJECT).hex: $(PROJECT).elf {%- block elf2hex -%}{%- endblock %} @@ -136,7 +136,7 @@ $(PROJECT).hex: $(PROJECT).elf $(PROJECT)-combined.hex: $(PROJECT).hex +@echo "NOTE: the $(SREC_CAT) binary is required to be present in your PATH. Please see http://srecord.sourceforge.net/ for more information." $(SREC_CAT) {% for f in hex_files %}{{f}} {% endfor %} -intel $(PROJECT).hex -intel -o $(PROJECT)-combined.hex -intel --line-length=44 - +@echo ===== hex file ready to flash: $(OBJDIR)/$@ ===== + +@echo "===== hex file ready to flash: $(OBJDIR)/$@ =====" {% endif %} # Rules ###############################################################################