diff options
author | Leah Rowe <leah@libreboot.org> | 2024-06-28 14:52:08 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2024-06-28 14:52:08 +0100 |
commit | 3f540e756596580a6f003d3ce375e4e64bfab9d4 (patch) | |
tree | be907df67da3d3a5b81afbaacbf454c10f988c12 /script/roms | |
parent | afc00306828f1ca73db89bb04195518879467b10 (diff) |
roms: build u-boot *before* checking ubootelf
the current check is flawed, because if u-boot doesn't
exist, but a given build would be the file verified by
the first check, the check would still fail even after
then building u-boot.
building it first will make this check pass, under such
a condition.
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'script/roms')
-rwxr-xr-x | script/roms | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/roms b/script/roms index 98a9a854..7e032ed0 100755 --- a/script/roms +++ b/script/roms @@ -141,9 +141,9 @@ add_payloads() [ "$payload_uboot" = "y" ] || return 0 # add u-boot payload + x_ ./update trees -b u-boot $board ubdir="elf/u-boot/$board/$uboot_config"; ubootelf="$ubdir/u-boot.elf" \ && [ ! -f "$ubootelf" ] && ubootelf="$ubdir/u-boot" - x_ ./update trees -b u-boot $board [ -f "$ubootelf" ] || $err "$board: Can't find u-boot" cbfs "$tmprom" "$ubootelf" "fallback/payload" |