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.
1 parent e393f00 commit 1ccb8c5fb374ba32a117c75f533bbfe9b1b86fe7
|scripts/version_stamp.sh 0 → 100755|