roms: merge build_uboot_payload to build_payloads

Signed-off-by: Leah Rowe <leah@libreboot.org>
audit2
Leah Rowe 2024-06-18 23:56:39 +01:00 committed by Leah Rowe
parent ccb330ec09
commit 3097a9e97a
1 changed files with 1 additions and 4 deletions

View File

@ -148,11 +148,8 @@ build_payloads()
|| [ "$payload_seabios_grubonly" = "y" ]; then
[ -f "$grubelf" ] || x_ ./update trees -b grub $grubtree
fi
[ "$payload_uboot" = "y" ] && build_uboot_payload; return 0
}
[ "$payload_uboot" = "y" ] || return 0
build_uboot_payload()
{
x_ ./update trees -b u-boot $board
ubdir="elf/u-boot/$board/$uboot_config"
ubootelf="$ubdir/u-boot.elf" && [ ! -f "$ubootelf" ] && \