mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
05220d9cda
When IDF_PATH is not set by the user, cmake infers the same through other means and sets it as an environment variable. However, some sub-invocation of cmake may not see this variable as it is not set in the parent. This change adds a custom command for exporting IDF_PATH just before invoking ldgen so that IDF_PATH can be used in Kconfig without any errors.