From 85bc915684cbeb562d8c6fbf81f9e35064ac04f1 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Tue, 24 Oct 2023 00:14:01 +0100 Subject: 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 --- script/build/roms | 1 + 1 file changed, 1 insertion(+) 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 } -- cgit v1.2.1