make: Fix quoting when flashing port is set via sdkconfig file

Regression in 862fa815ff

Closes https://github.com/espressif/esp-idf/issues/5124
Closes https://github.com/espressif/esp-idf/issues/5104
This commit is contained in:
Angus Gratton 2020-04-15 15:30:29 +10:00 committed by Angus Gratton
parent 445e847274
commit 90b3676280

View File

@ -1,6 +1,6 @@
# Component support for esptool.py. Doesn't do much by itself,
# components have their own flash targets that can use these variables.
ESPPORT ?= $(CONFIG_ESPTOOLPY_PORT)
ESPPORT ?= $(call dequote,$(CONFIG_ESPTOOLPY_PORT))
ESPBAUD ?= $(CONFIG_ESPTOOLPY_BAUD)
ESPFLASHMODE ?= $(CONFIG_ESPTOOLPY_FLASHMODE)
ESPFLASHFREQ ?= $(CONFIG_ESPTOOLPY_FLASHFREQ)