drivers: remove drivers/Makefile.include and add driver specific Makefile.include#14369
Conversation
|
Note that with this PR, it will be easy for riotgen to generate a working driver module. cc @HendrikVE |
780afbb to
0b62120
Compare
|
I have a version of this PR for per driver dependency resolution. Will PR it soon. |
0b62120 to
49b0634
Compare
|
Looks good, please squash! |
Wait a bit, I have to update the driver guide before :) |
f35c25d to
8110507
Compare
If you have to ask this question, I rather don't want to risk it. The PR looks simple enough on one hand, on the other it changes quite a bit of the |
8110507 to
f0a5106
Compare
f0a5106 to
c487f38
Compare
|
@aabadie feel free to squash |
b906222 to
6deb809
Compare
|
(sorry, meant to write soft feature freeze) |
benpicco
left a comment
There was a problem hiding this comment.
If Murdock still likes this, we should merge this now IMHO.
6deb809 to
628777f
Compare
|
rebased, let's see if Murdock is still green. |
|
Murdock does a rebase already 😉 |
Contribution description
This PR add Makefile.include in each driver modules when necessary and removes the main drivers/Makefile.include one. Each Makefile.include file is included automatically based on the content of the USEMODULE variable, similar to what is done with USEPKG for packages.
Testing procedure
Issues/PRs references
Some documentation is added to the driver guide, so this fixes #14330.
There was an initial effort in this direction provided by #6923, which is partially addressed by this PR.