freemint / fvdi

fVDI fork with additional fixes and drivers.
https://fvdi.sourceforge.io
7 stars 6 forks source link

Include git commit in startup log message #19

Closed chrisridd closed 2 years ago

chrisridd commented 2 years ago

Version numbers aren't too helpful identifying a build, especially if the version doesn't change for a few years.

Adding the git commit hash is a common solution:

fVDI v0.970beta3-32bit-gcc-FT-2.10.2 (eb26db352d) now installed.
chrisridd commented 2 years ago

Hm, this is actually executing git every time it runs cc isn't it? That's sub-optimal.

It might also be better moving the CONFIGVARS changes down to fvdi/engine/Makefile as only fvdi/engine/startup.c cares about GIT_COMMIT.