cpu/esp[32, 8266, _common]: Move dependency resolutions to Makefile.dep#13685
Conversation
There was a problem hiding this comment.
Great job 👍 Looks good from the first view.
I will investigate whether all dependencies and compiler settings are pulled in correctly. The tests in #PR12971 would help now to compare the ESP specific dependencies. I will do it manually for the moment.
gschorcht
left a comment
There was a problem hiding this comment.
The change works as expected.
gschorcht
left a comment
There was a problem hiding this comment.
I have checked all possible compile configurations for ESP specific modules. It works like charm.
|
@leandrolanzieri What is your time schedule for this PR? From my point of view it looks good and it works as expected. It is very good cleanup. I wish I'd had the idea with the conditionals. BTW, the merge of PR #13365 produces a conflict. It shouldn't be a problem to move from |
It would be nice to have this before the soft feature freeze, but we need #12994 to get rid of
I'll rebase |
Yeah, but this was just for user convenience. IMHO, we could it for the ESPs. If an application developer enables more than one network interface, he should know that he also has to increase the number of |
0fada52 to
3517151
Compare
|
@gschorcht rebased to solve the conflict with
What do you mean? |
IMHO, we could remove it for the ESPs 😎 |
|
Please squash. |
572f8b0 to
45bc750
Compare
45bc750 to
58320c9
Compare
|
@gschorcht squashed. I renamed the commit that removes the increase of interfaces. |
gschorcht
left a comment
There was a problem hiding this comment.
Looks good. Works as expected.
|
@leandrolanzieri Thanks for this contribution. |
|
@gschorcht thanks a lot for reviewing and testing |
Contribution description
This PR is an attempt to cleanup the dependency resolution for ESP CPUs. The main idea is to make use of GNU Make conditional expansion to check for
USEMODULEvariable in Makefile.include files, so the expansion is delayed until after the dependency resolution occurs.Currently this depends on #12994, so we do not have to deal with
GNRC_NETIF_NUMOFin Makefiles. I suggest reviewing this commit per commit.Testing procedure
Issues/PRs references
Part of #9913
Depends on #12994