From a9e80d0c19703fc26e26084d7b36976d95e8211a Mon Sep 17 00:00:00 2001 From: Michael Kellner Date: Fri, 13 Sep 2024 16:30:29 -0700 Subject: [PATCH] esp32: dependencies dependency --- tools/mcconfig/make.esp32.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/mcconfig/make.esp32.mk b/tools/mcconfig/make.esp32.mk index 21084c5a5..c12595adf 100644 --- a/tools/mcconfig/make.esp32.mk +++ b/tools/mcconfig/make.esp32.mk @@ -583,9 +583,9 @@ DUMP_VARS: echo "# IDF_RECONFIGURE_CMD is $(IDF_RECONFIGURE_CMD)" echo "# SDKCONFIG_H_DIR is $(SDKCONFIG_H_DIR)" -dependencies: $(PROJ_DIR)/../xs_idf_deps.txt +dependencies: $(PROJ_DIR) $(PROJ_DIR_FILES) $(PROJ_DIR)/../xs_idf_deps.txt echo "# Configure dependencies..." - rm -f $(PROJ_DIR)/main/idf_component.yml + -rm -f $(PROJ_DIR)/main/idf_component.yml cd $(PROJ_DIR) ; $(BUILD_DEPENDENCIES) precursor: prepareOutput idfVersionCheck $(PROJ_DIR_FILES) bootloaderCheck $(BLE) dependencies $(SDKCONFIG_H) $(LIB_DIR) $(BIN_DIR)/xs_$(ESP32_SUBCLASS).a @@ -615,7 +615,7 @@ clean: -rm -rf $(TMP_DIR) 2>/dev/null -rm -rf $(LIB_DIR) 2>/dev/null -$(SDKCONFIG_H): $(SDKCONFIG_FILE) $(PROJ_DIR_FILES) +$(SDKCONFIG_H): $(SDKCONFIG_FILE) $(PROJ_DIR_FILES) dependencies -rm $(PROJ_DIR)/sdkconfig 2>/dev/null echo "# Reconfiguring ESP-IDF..." ; cd $(PROJ_DIR) ; $(IDF_RECONFIGURE_CMD)