-
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
pkg/openthread: improve package Makefile #14282
pkg/openthread: improve package Makefile #14282
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
I'm using |
Hmm it does work properly when I build in docker.. |
#14299 fixed my local issues |
#14299 is merged, can you give this another try ? |
I tested by compiling with this PR and master and comparing the generated hex:
|
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.
ACK.
Contribution description
This PR reworks the main Makefile of the openthread package. In master, the
all
target 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
all
in 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