summaryrefslogtreecommitdiff
path: root/resources/scripts
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-05-13 01:34:29 +0100
committerLeah Rowe <leah@libreboot.org>2023-05-13 01:34:29 +0100
commit6a4ce66f6ebee362b5207fb134582d3aaedd0eab (patch)
treeb43eabcd40a52829dbc1adc49edcdff913cd710d /resources/scripts
parent1e9ed989d32877103babbdc273e40a42a72ef7fb (diff)
build/boot/roms: don't run ich9gen twice
Diffstat (limited to 'resources/scripts')
-rwxr-xr-xresources/scripts/build/boot/roms_helper4
1 files changed, 3 insertions, 1 deletions
diff --git a/resources/scripts/build/boot/roms_helper b/resources/scripts/build/boot/roms_helper
index 1a5c84e2..852964d0 100755
--- a/resources/scripts/build/boot/roms_helper
+++ b/resources/scripts/build/boot/roms_helper
@@ -736,7 +736,9 @@ moverom()
c=12
ifdgbe="descriptors/ich9m/ich9fdgbe_${romsize}m.bin"
fi
- ./build descriptors ich9m
+ if [ ! -f "${ifdgbe}" ]; then
+ ./build descriptors ich9m
+ fi
dd if=${ifdgbe} of=${_newrom} bs=1 count=${c}k \
conv=notrunc
done