Browse Source

esp32/Makefile: Fix path expansion for ESPIDF_DRIVER_O.

It was using subst to s/.c/.o/ which changed .c anywhere in the path.
pull/4938/head
Jim Mussared 5 years ago
committed by Damien George
parent
commit
331c224e07
  1. 2
      ports/esp32/Makefile

2
ports/esp32/Makefile

@ -257,7 +257,7 @@ $(HEADER_BUILD)/qstrdefs.generated.h: $(SDKCONFIG_H)
################################################################################ ################################################################################
# List of object files from the ESP32 IDF components # 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/,\ ESPIDF_EFUSE_O = $(addprefix $(ESPCOMP)/efuse/,\
esp32/esp_efuse_table.o \ esp32/esp_efuse_table.o \

Loading…
Cancel
Save