-
Notifications
You must be signed in to change notification settings - Fork 2.1k
boards/common: use Makefile.features #11675
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
Merged
MrKevinWeiss
merged 4 commits into
RIOT-OS:master
from
cladmi:pr/boards/common/use_makefile_features
Jul 2, 2019
Merged
boards/common: use Makefile.features #11675
MrKevinWeiss
merged 4 commits into
RIOT-OS:master
from
cladmi:pr/boards/common/use_makefile_features
Jul 2, 2019
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7ed521a
to
f5bef68
Compare
Updated the commit messages as they were not explaining why the change was done. |
f5bef68
to
7466f18
Compare
Rebased now that |
The file is there so no reason to have an include if file exists.
Use the common `msb-430/Makefile.features` instead of duplicating the `cpu` include.
Introduce and use a common/msba2/Makefile.features. The boards were already using the common `Makefile.include` and `Makefile.dep`. This makes 'include $(RIOTCPU)/lpc2387/Makefile.features' be done in the same module where 'CPU' is defined. Preparation for moving 'CPU' definition to Makefile.features.
Introduce and use a common/remote/Makefile.features. The boards were already using the common `Makefile.include` and `Makefile.dep`. This makes 'include $(RIOTCPU)/cc2538/Makefile.features' be done in the same module where 'CPU' is defined. Preparation for moving 'CPU' definition to Makefile.features.
7466f18
to
ec31249
Compare
18 tasks
smlng
approved these changes
Jul 2, 2019
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.
Looks sound, ACK
Thanks for the review. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Area: boards
Area: Board ports
CI: ready for build
If set, CI server will compile all applications for all available boards for the labeled PR
Impact: minor
The PR is small in size and might only require a quick look of a knowledgeable reviewer
Reviewed: 1-fundamentals
The fundamentals of the PR were reviewed according to the maintainer guidelines
Reviewed: 2-code-design
The code design of the PR was reviewed according to the maintainer guidelines
Reviewed: 3-testing
The PR was tested according to the maintainer guidelines
Reviewed: 4-code-style
The adherence to coding conventions by the PR were reviewed according to the maintainer guidelines
Reviewed: 5-documentation
The documentation details of the PR were reviewed according to the maintainer guidelines
Type: cleanup
The issue proposes a clean-up / The PR cleans-up parts of the codebase / documentation
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Contribution description
Update boards to use
boards/common/*/Makefile.features
if they were usingboards/common/*/Makefile.include
already.This de-duplicates the including on
$(RIOTCPU)/cpu_name/Makefile.features
.Also now the
include $(RIOTCPU)/cpu_name/Makefile.features
is done in the same module that definesCPU
.It is a cleanup to simplify moving
CPU/CPU_MODEL
toMakefile.features
.Testing procedure
info-build
gives the same output as inmaster
for all boards with only the newly created file inMAKEFILE_LIST
.Issues/PRs references
Cleanup part of: Tracking: move CPU/CPU_MODEL to Makefile.features #11477
Related to #11674