summaryrefslogtreecommitdiff
path: root/util/cbfstool/ProcessorBind.h
diff options
context:
space:
mode:
authorMartin Roth <gaumless@gmail.com>2022-11-27 18:18:10 -0700
committerFelix Held <felix-coreboot@felixheld.de>2022-12-05 14:41:22 +0000
commit8a79a89ec48ba171e8550b2ba2db60a3a2b65e8c (patch)
treeed99b2b7abf75790bfd95630c53edd4a5b0539aa /util/cbfstool/ProcessorBind.h
parentdef3c5ccabdc1945a7c10a3882e69b556e0150bd (diff)
util/genbuild_h: Update version calculation
- 'git describe --match [0-9].[0-9]*' was giving me an error, so use the basic 'git describe' command instead. - If a .coreboot-version file exists, use that to determine the version. This fixes the problem for coreboot releases. - Don't run git for the versions unless it's being built from a valid git repository. Use 0.0 as the default version for timeless or unknown. Signed-off-by: Martin Roth <gaumless@gmail.com> Change-Id: I5fae2f012cc9b9914d8803af8dd58a885358cb1a Reviewed-on: https://review.coreboot.org/c/coreboot/+/70055 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Jakub Czapiga <jacz@semihalf.com> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'util/cbfstool/ProcessorBind.h')
0 files changed, 0 insertions, 0 deletions