pkg/openthread: improve package Makefile#14282
Merged
fjmolinas merged 1 commit intoRIOT-OS:masterfrom Jun 16, 2020
Merged
Conversation
b97e449 to
ee77031
Compare
This commit improves the target dependencis so that bootstrap and configure command are not run for each rebuild
ee77031 to
d7ddf57
Compare
Contributor
|
I'm using |
Contributor
Hmm it does work properly when I build in docker.. |
Contributor
|
#14299 fixed my local issues |
Contributor
Author
|
#14299 is merged, can you give this another try ? |
Contributor
|
I tested by compiling with this PR and master and comparing the generated hex:
|
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
This PR reworks the main Makefile of the openthread package. In master, the
alltarget contains all calls to bootstrap, configure and make and this results in all these steps to be run for each rebuild of an application that is using this package.This PR splits
allin several targets to prevent this.There are other minors fixes applied: use
$()instead of${}to access some make variables, move some info messages in the corresponding target (otherwise they are displayed twice at the beginning of the build).Testing procedure
this PR
master
Issues/PRs references
None