boards/common: use Makefile.features#11675
Merged
MrKevinWeiss merged 4 commits intoRIOT-OS:masterfrom Jul 2, 2019
Merged
Conversation
7ed521a to
f5bef68
Compare
Contributor
Author
|
Updated the commit messages as they were not explaining why the change was done. |
f5bef68 to
7466f18
Compare
Contributor
Author
|
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
Contributor
Author
|
Thanks for the review. |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.featuresif they were usingboards/common/*/Makefile.includealready.This de-duplicates the including on
$(RIOTCPU)/cpu_name/Makefile.features.Also now the
include $(RIOTCPU)/cpu_name/Makefile.featuresis done in the same module that definesCPU.It is a cleanup to simplify moving
CPU/CPU_MODELtoMakefile.features.Testing procedure
info-buildgives the same output as inmasterfor 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