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 |
cladmi
left a comment
There was a problem hiding this comment.
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_LINKvariables since they are not passed to an external process.Testing procedure
DEBUG_ADAPTER_IDwith multiple boards plugged on the same computerIssues/PRs references
Removal of unused exports #10850