summaryrefslogtreecommitdiff
path: root/resources/scripts/build/boot/roms_helper
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2021-05-22 20:28:06 +0100
committerLeah Rowe <leah@libreboot.org>2021-05-22 20:28:41 +0100
commit15e4b8a00caec6ee6a4df607ad93792575dbaac8 (patch)
tree84ec1f31328d2a87a74448d8987f39ab241cc07d /resources/scripts/build/boot/roms_helper
parent85ec4e0e08cd3ab38376d0b22593b40f106350ea (diff)
build/crossgcc: insert .coreboot-version
Diffstat (limited to 'resources/scripts/build/boot/roms_helper')
-rwxr-xr-xresources/scripts/build/boot/roms_helper1
1 files changed, 1 insertions, 0 deletions
diff --git a/resources/scripts/build/boot/roms_helper b/resources/scripts/build/boot/roms_helper
index f3608780..46b65be5 100755
--- a/resources/scripts/build/boot/roms_helper
+++ b/resources/scripts/build/boot/roms_helper
@@ -132,6 +132,7 @@ fi
if [ "${arch}" = "x86_32" ] || [ "${arch}" = "x86_64" ]; then
if [ ! -d "${cbdir}/util/crossgcc/xgcc/i386-elf/" ]; then
(
+ cat version > "${cbdir}/.coreboot-version"
cd "${cbdir}"
make crossgcc-i386 CPUS=$(nproc) # even for 64-bit machines, coreboot builds
# 32-bit ROM images, so we only need to worry about i386-elf