mirror of https://github.com/thesofproject/sof.git
cmake: Include GIT_TAG in generated version.h file
GIT_TAG is user readable form of used source code version with commit identifier, what is important for bugs reproducibility, so it will be convenient to have this information in output logs. Signed-off-by: Karol Trzcinski <karolx.trzcinski@linux.intel.com>
This commit is contained in:
parent
901f991eee
commit
2263a8bc62
|
@ -97,6 +97,7 @@ function(sof_check_version_h)
|
|||
"#define SOF_MICRO ${SOF_MICRO}\n"
|
||||
"#define SOF_TAG \"${SOF_TAG}\"\n"
|
||||
"#define SOF_BUILD ${SOF_BUILD}\n"
|
||||
"#define SOF_GIT_TAG \"${GIT_TAG}\"\n"
|
||||
"#define SOF_SRC_HASH 0x${SOF_SRC_HASH}\n"
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue