boards: always include cpu features#10078
Conversation
smlng
left a comment
There was a problem hiding this comment.
More of a question: if every CPU has a Makefile.features and is mandatory to be included, why not do so at a higher level rather than having the same line (i.e. include $(RIOTCPU)/<cpu_name>/Makefile.features) in each and every boards Makefile.features?
|
@smlng Glad that you asked :) and you are right it should be but it is also an upcoming PR. The problem is that currently Why not including it after |
0518443 to
b822586
Compare
|
But it's true I forgot to reference the main issue in this PR description. I fixed it. |
b822586 to
2c27a93
Compare
5818129 to
d68cc8d
Compare
smlng
left a comment
There was a problem hiding this comment.
Tested ACK - features stay the same, also verified the sanity check.
|
please squash |
This prepares for being able to always include Makefile.features globally. It prevents new board for missing this until it is done.
d68cc8d to
d0dce48
Compare
The file always exist so no need to do '-include'.
Replaced using:
sed -i 's|-\(include $(RIOTCPU)/.*/Makefile.features\)|\1|' \
$(git grep -l '$(RIOTCPU)/.*/Makefile.features' boards)
d0dce48 to
b450141
Compare
|
Thank you for reviewing. I rebased and squashed. I also re-ran the |
Contribution description
This adds a sanity check that CPU/Makefile.features is always used and replace the optional '-include' from boards as CPU Makefile.features always exist (done with
sed).Testing procedure
Verify that murdock correctly builds 128 times (== all boards) for
examples/hello-world.Issues/PRs references
Waiting for: #10064 and #10063Part of working on #9913