esp32/Makefile: Fix path expansion for ESPIDF_DRIVER_O.

It was using subst to s/.c/.o/ which changed .c anywhere in the path.
This commit is contained in:
Jim Mussared 2019-07-11 14:57:40 +10:00 committed by Damien George
parent 9da46a98cb
commit 331c224e07
1 changed files with 1 additions and 1 deletions

View File

@ -257,7 +257,7 @@ $(HEADER_BUILD)/qstrdefs.generated.h: $(SDKCONFIG_H)
################################################################################
# List of object files from the ESP32 IDF components
ESPIDF_DRIVER_O = $(subst .c,.o,$(wildcard $(ESPCOMP)/driver/*.c))
ESPIDF_DRIVER_O = $(patsubst %.c,%.o,$(wildcard $(ESPCOMP)/driver/*.c))
ESPIDF_EFUSE_O = $(addprefix $(ESPCOMP)/efuse/,\
esp32/esp_efuse_table.o \