Scripts under `tools/` should probably be modified to import a common module.
Opened this issue · 0 comments
echo-lalia commented
A lot of the scripts under tools/
are re-implementing the same code. This means that when updates are made, the exact same modification needs to be made in several different locations.
Currently, some scripts are import the NON_DEVICE_FILES
constant from the parse_files
script, but this still feels a little inelegant.
It would make a lot more sense if there was some kind of common build utility module that hosted the logic for things like extracting device files, getting device names, getting default paths, etc.