From 920e5ba2d93942e953625ebe97cfd67ae7ef9601 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Tue, 18 Jun 2024 23:56:39 +0100 Subject: roms: merge build_uboot_payload to build_payloads Signed-off-by: Leah Rowe --- script/roms | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'script') diff --git a/script/roms b/script/roms index fc63712f..4f571aa1 100755 --- a/script/roms +++ b/script/roms @@ -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" ] && \ -- cgit v1.2.1