idf-component-manager
idf-component-manager copied to clipboard
add_dependencies early in build (IDFGH-13540) (PACMAN-981)
Answers checklist.
- [X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
- [X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
- [X] I have searched the issue tracker for a similar issue and not found a similar issue.
General issue report
I am working on a yaml generator. Its purpose is to work around the lack of local components ability to specify their own idf_component.yml
.
It is working pretty well, but runs too late in the process. Although it runs before the components themselves are compiled, it runs after the component manager evaluates idf_component.yml
.
It's very useful to run in the context of ESP-IDF build so that things like EXTRA_COMPONENT_DIRS
is available.
Is there a way to add_dependencies
such that my custom target is picked up by idf build early on, before managed components are evaluated?