TangMeng12 commented on code in PR #17236:
URL: https://github.com/apache/nuttx/pull/17236#discussion_r2536196329


##########
arch/risc-v/src/esp32c3-legacy/Make.defs:
##########
@@ -248,11 +248,22 @@ ifndef ESP_HAL_3RDPARTY_URL
        ESP_HAL_3RDPARTY_URL    = 
https://github.com/espressif/esp-hal-3rdparty.git
 endif
 
+# When set USE_NXTMPDIR_ESP_REPO_DIRECTLY=y, will directly use esp-hal-3rdparty
+# under nxtmpdir without CHECK_COMMITSHA, reset, checkout and update.
+
+USE_NXTMPDIR_ESP_REPO_DIRECTLY ?= n
+
 ifeq ($(STORAGETMP),y)
+ifeq ($(USE_NXTMPDIR_ESP_REPO_DIRECTLY),y)
+define CLONE_ESP_HAL_3RDPARTY_REPO
+       $(call CLONE, 
$(ESP_HAL_3RDPARTY_URL),chip/$(ESP_HAL_3RDPARTY_REPO),$(NXTMPDIR)/$(ESP_HAL_3RDPARTY_REPO))

Review Comment:
   I have changed to `$(call COPYDIR, 
$(NXTMPDIR)/$(ESP_HAL_3RDPARTY_REPO),chip/$(ESP_HAL_3RDPARTY_REPO))`



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to