summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscript/roms5
1 files changed, 1 insertions, 4 deletions
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" ] && \