-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
boards: always include cpu features #10078
boards: always include cpu features #10078
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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