diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2019-02-15 17:39:56 +0100 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-02-21 19:07:18 +0000 |
commit | 94ad37619f95a07b94a6a9a570bd74727eb830c4 (patch) | |
tree | cf3fd05368dc981b120cd3c070f110789ea57023 /util/genbuild_h | |
parent | 16d05daffa827f4e6ec26e34aaf20caae6600cc9 (diff) |
SMBIOS: Fix bios version
Change-Id: I142f08ed3c2704b8fde6d176f23772f5d6b33e85
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/31437
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'util/genbuild_h')
-rwxr-xr-x | util/genbuild_h/genbuild_h.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/util/genbuild_h/genbuild_h.sh b/util/genbuild_h/genbuild_h.sh index 95846ceae6..c7b06d91df 100755 --- a/util/genbuild_h/genbuild_h.sh +++ b/util/genbuild_h/genbuild_h.sh @@ -58,6 +58,7 @@ printf "#define COREBOOT_VERSION_TIMESTAMP $DATE\n" printf "#define COREBOOT_ORIGIN_GIT_REVISION \"$GITREV\"\n" printf "#define COREBOOT_EXTRA_VERSION \"%s\"\n" "$COREBOOT_EXTRA_VERSION" +printf "#define COREBOOT_MAJOR_VERSION %d\n#define COREBOOT_MINOR_VERSION %d\n" `git describe --match [0-9].[0-9]* | sed 's/\([0-9]\)\.\([0-9]\+\).*/\1 \2/'` printf "#define COREBOOT_BUILD \"$(our_date "$DATE")\"\n" printf "#define COREBOOT_BUILD_YEAR_BCD 0x$(our_date "$DATE" +%y)\n" printf "#define COREBOOT_BUILD_MONTH_BCD 0x$(our_date "$DATE" +%m)\n" |