diff options
author | Leah Rowe <leah@libreboot.org> | 2023-05-13 01:34:29 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2023-05-13 01:34:29 +0100 |
commit | 6a4ce66f6ebee362b5207fb134582d3aaedd0eab (patch) | |
tree | b43eabcd40a52829dbc1adc49edcdff913cd710d /resources/scripts/build/boot | |
parent | 1e9ed989d32877103babbdc273e40a42a72ef7fb (diff) |
build/boot/roms: don't run ich9gen twice
Diffstat (limited to 'resources/scripts/build/boot')
-rwxr-xr-x | resources/scripts/build/boot/roms_helper | 4 |
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 |