fix(make): Fix "print_flash_cmd" lose global macro

This commit is contained in:
dongheng
2019-04-11 10:49:33 +08:00
parent 2598b7ec21
commit 998596aa67

View File

@@ -545,7 +545,7 @@ list-components:
$(foreach cp,$(COMPONENT_PATHS),$(info $(cp)))
# print flash command, so users can dump this to config files and download somewhere without idf
print_flash_cmd:
print_flash_cmd: global-macro
echo $(ESPTOOL_WRITE_FLASH_OPTIONS) $(ESPTOOL_ALL_FLASH_ARGS) | sed -e 's:'$(PWD)/build/'::g'
# Check toolchain version using the output of xtensa-esp32-elf-gcc --version command.