dgibson / dtc

Device Tree Compiler
219 stars 130 forks source link

version_get.h: add missing info in Meson build #117

Closed blmaier closed 1 year ago

blmaier commented 1 year ago

The Makefile calls the setlocalversion script to get the repo info, append it to the version, and add it to version_gen.h. Meson is skipping the repo info and just writing the version into version_gen.h.

The Meson vcs_tag() can call an external program to get the version, but it can't append the output to another string, so we must update setlocalversion to do it for us.