global: add structure for version stamping.
...
This commit adds a script, version_stamp.sh which gets executed from external.mk's world target. It uses git describe --broken --dirty and outputs this to the global utilities directory, as version_stamp.
The output file is also added to gitignore, so the result cannot be committed accidentally.
It is up to each board config and scripts to do whatever they wish with this output.
Xogium
committed
on 1 Feb 2021