summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-10-24 00:14:01 +0100
committerLeah Rowe <leah@libreboot.org>2023-10-24 00:14:01 +0100
commit85bc915684cbeb562d8c6fbf81f9e35064ac04f1 (patch)
tree598b056169b1c5416a383002fc8c0aa36075fc6d /script
parentf1785c3f43734108443fed9c6b91ffcb835ae097 (diff)
build/roms: copy base rom again for u-boot
when building only for u-boot, the current script works just fine. however, when building for other payloads in additional to u-boot, the final u-boot stage fails because other payloads are already inserted via cbfs. when we build u-boot, we do that last because we want u-boot setups to only be u-boot, nothing else. this patch enables qemu x86 to build properly with u-boot. Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'script')
-rwxr-xr-xscript/build/roms1
1 files changed, 1 insertions, 0 deletions
diff --git a/script/build/roms b/script/build/roms
index e8cd1c7f..37ee0aab 100755
--- a/script/build/roms
+++ b/script/build/roms
@@ -232,6 +232,7 @@ build_roms()
[ "${payload_grub}" != "y" ] || \
x_ build_grub_roms "${cbrom}" "grub"
[ "${payload_uboot}" = "y" ] || return 0
+ x_ cp "${_cbrom}" "${cbrom}"
build_uboot_roms
}