-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Makefile.include: resolve dependencies before Makefile.include #14351
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
Makefile.include: resolve dependencies before Makefile.include #14351
Conversation
|
There are a couple of other build system tricks that could (or should ?) be removed as well: RIOT/boards/native/Makefile.include Line 81 in a665fcc
RIOT/makefiles/arch/cortexm.inc.mk Line 74 in a665fcc
I don't know if they should be part of this PR or if there are others. |
|
Some others: RIOT/cpu/esp_common/Makefile.include Lines 54 to 56 in a665fcc
RIOT/cpu/esp_common/Makefile.include Lines 44 to 45 in a665fcc
RIOT/cpu/esp_common/Makefile.include Lines 135 to 137 in a665fcc
RIOT/cpu/esp8266/Makefile.include Lines 51 to 55 in a665fcc
RIOT/cpu/esp32/Makefile.include Lines 46 to 47 in a665fcc
RIOT/cpu/esp32/Makefile.include Lines 67 to 69 in a665fcc
|
|
@leandrolanzieri should I do those changes in this PR? IMO we could do it in a followup, and can come after the feature freeze. |
I'm OK with having that on a followup |
I'll open right away. |
|
I'm running the scripts now... |
|
Nice one :-) |
|
@leandrolanzieri found a diff where |
Is this problematic from your point of view ? |
|
@leandrolanzieri I rand it again and I only get a diff in |
This is not really an issue. It was happening because of my local setup. Disregard. |
It would be good to post the diff for the record |
|
Here is the diff I had: diff.txt |
leandrolanzieri
left a comment
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.
As explained in #9913 this change makes sense as it helps resolving the problem of setting certain configurations depending on the used modules.
@fjmolinas provided the diff that shows that there are no impacts in dependency resolution. From my side it's an ACK.
Maybe we can have a second one? @aabadie?
I'm all for this change and I trust your results ! ACK |
|
And GO! |
|
Awesome to get this finally done, finishing what @cladmi started! Thanks for all the help along the way @leandrolanzieri @aabadie! |
|
Congrats |
Contribution description
This PR moves
BOARDandCPUMakefile includes after dependency resolution.Testing procedure
green murdock
run
time ./dist/tools/buildsystem_sanity_check/save_all_dependencies_resolution_variables.shon this PR and master. There should be no diff. I ran it on a version of this branch rebased on sys/arduino: include arduino_sketches in Makefile.dep #14350. But I think that shouldn't matter since that module was included after dependency resolution already so result should not be affected by this PR.I'm ticking it as major since it affects all
BOARDCPU, but IMO the change if fine if no dependencies have changed :)Issues/PRs references
Ticks an item in #9913