summaryrefslogtreecommitdiff
path: root/resources/scripts/build/release/roms
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-03-05 14:00:06 +0000
committerLeah Rowe <leah@libreboot.org>2023-03-05 14:00:06 +0000
commit544737c8647a42788b407be87cc898816376288d (patch)
treee9f3cd386cd24c544ccc32bb4c544aa84c867d73 /resources/scripts/build/release/roms
parent9398ad08db8b9aa05268425234d5fb686890564f (diff)
scripts: build cbutils, not specific utils
some checks check for specific utils, which are then used to indicate the existence of other utils, which means that building them singularly, as is currently done, may result in errors later if another tool doesn't exist compiled yet this is an obscure bug, fixed by this patch. more of a workaround really. a dirty hack. when checking for any of the coreboot utilities required, build all coreboot utilities that are possibly required the utilities are small enough that this does not add much extra time to build, and in most cases, all of them will be needed anyway
Diffstat (limited to 'resources/scripts/build/release/roms')
-rwxr-xr-xresources/scripts/build/release/roms4
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/scripts/build/release/roms b/resources/scripts/build/release/roms
index dce21f16..38162a5d 100755
--- a/resources/scripts/build/release/roms
+++ b/resources/scripts/build/release/roms
@@ -74,13 +74,13 @@ for romdir in bin/*; do
ifdtooldir="coreboot/default/util/ifdtool"
ifdtool="${ifdtooldir}/ifdtool"
if [ ! -f "${ifdtool}" ]; then
- make -BC "${ifdtooldir}" || exit 1
+ ./build module cbutils default || exit 1
fi
cbfstooldir="coreboot/default/util/cbfstool"
cbfstool="${cbfstooldir}/cbfstool"
if [ ! -f "${cbfstool}" ]; then
- make -BC "${cbfstooldir}" || exit 1
+ ./build module cbutils default || exit 1
fi
rm -Rf "${romdir}_tmp" # dirty hack, to reduce disk io later