-
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
make: boards: remove use of export with debug adapter related variables #11614
make: boards: remove use of export with debug adapter related variables #11614
Conversation
Indeed all usages of these variables are inside directly included makefiles:
Could you also add these variables to the list on variables that must not be exported
It should prevent new usages to export them. |
Wasn't aware of this. Will do. |
I will update the tracking issue about exports. |
@cladmi, I added the variable to the build system sanity check script. In the meantime, I also cleaned up the |
There are two commented |
DEBUG_ADAPTER, DEBUG_ADAPTER_ID, STLINK_VERSION are now blacklisted from exported variables
f5f111e
to
06013cf
Compare
Fixed |
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, the variables do not need to be updated.
Also from analysis, the number of warnings reported by the updated ./dist/tools/buildsystem_sanity_check/check.sh
in master match the number of changes.
A check with --word-diff
only shows removing exports.
Thanks @cladmi :) |
Contribution description
There's no need to export
DEBUG_ADAPTER
/DEBUG_ADAPTER_ID
/ST_LINK
variables since they are not passed to an external process.Testing procedure
DEBUG_ADAPTER_ID
with multiple boards plugged on the same computerIssues/PRs references
Removal of unused exports #10850