From 3097a9e97a6cceeda81f74d1d35df224721b25ab Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Tue, 18 Jun 2024 23:56:39 +0100 Subject: [PATCH] roms: merge build_uboot_payload to build_payloads Signed-off-by: Leah Rowe --- script/roms | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/script/roms b/script/roms index ce86973..6a68ab9 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" ] && \