diff options
author | Leah Rowe <leah@libreboot.org> | 2023-07-08 00:27:53 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2023-07-08 00:27:53 +0100 |
commit | f34e07ae27e3e6e8508cdebcbd09fdf73fca302d (patch) | |
tree | 52a59d513f4df21655d14a442bd2fbba47f5cd40 /resources/coreboot/fam15h_udimm/patches/0008-crossgcc-patch-binutils-2.32-for-newer-hostcc.patch | |
parent | 68d4710785dec06de3538e10f27ee86ae258db72 (diff) |
build/boot/roms: fix coreboot-version in releases
This error was observed, in the coreboot build system:
In file included from src/lib/version.c:4:
build/build.h:10:32: error: 'libreboot' undeclared here (not in a function)
10 | #define COREBOOT_MAJOR_VERSION libreboot-20230625
| ^~~~~~~~~
src/lib/version.c:35:46: note: in expansion of macro 'COREBOOT_MAJOR_VERSION'
35 | const unsigned int coreboot_major_revision = COREBOOT_MAJOR_VERSION;
| ^~~~~~~~~~~~~~~~~~~~~~
This happened on the 20230625 *release archive*, when a user tried to
build for W541 MRC on an Arch Linux container.
This change fixes the error. I never got the error on my end when
build testing the release archives, but this will prevent the error.
Fix it by only inserting libreboot version string YYYYMMDD representing
the Libreboot version. (libreboot uses ISO dates as version numbers)
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'resources/coreboot/fam15h_udimm/patches/0008-crossgcc-patch-binutils-2.32-for-newer-hostcc.patch')
0 files changed, 0 insertions, 0 deletions