make: add tools-check target for host toolchain sanity checks#22209
make: add tools-check target for host toolchain sanity checks#22209maylikenoother wants to merge 2 commits intoRIOT-OS:masterfrom
Conversation
Signed-off-by: maylikenoother <ogedengbemary19@gmail.com>
|
I like the idea, but I fear that this is somewhat redundant to Perhaps it would be better to extend the script behind |
maribu
left a comment
There was a problem hiding this comment.
Thanks for opening this PR. This is feature-wise pretty close to what make print-versions already does - although a bit more opinionated.
It would likely help if make print-versions would help with interpreting the output a bit more. E.g. a new user wouldn't be able to draw the conclusions whether or not the availability of a given tool in a given version will allow them to do what they want or not.
For the PR as it is, I'd rather not have that merged. I fear that this feature is too closely related to make print-versions to provide a lot of benefit in having both, but it will increase maintenance load to keep both up to date.
|
Ah, what @crasbe says 😅 |
Signed-off-by: maylikenoother <ogedengbemary19@gmail.com>
I removed the separate |
|
Good day, |
|
Hello @maribu |
Motivation
RIOT builds and flashing workflows commonly fail due to missing host-side tools (e.g., Python, git, ARM toolchain, OpenOCD, pyserial).
These failures often happen late and can be confusing for new contributors.
Change
Add a new
make tools-checktarget that:command -v[OK]/[MISSING]status lineTools checked:
python3gitmakearm-none-eabi-gccopenocdpyserial-minitermHow to test
Run: