roms: merge build_uboot_payload to build_payloads
Signed-off-by: Leah Rowe <leah@libreboot.org>audit2
parent
ccb330ec09
commit
3097a9e97a
|
@ -148,11 +148,8 @@ build_payloads()
|
||||||
|| [ "$payload_seabios_grubonly" = "y" ]; then
|
|| [ "$payload_seabios_grubonly" = "y" ]; then
|
||||||
[ -f "$grubelf" ] || x_ ./update trees -b grub $grubtree
|
[ -f "$grubelf" ] || x_ ./update trees -b grub $grubtree
|
||||||
fi
|
fi
|
||||||
[ "$payload_uboot" = "y" ] && build_uboot_payload; return 0
|
[ "$payload_uboot" = "y" ] || return 0
|
||||||
}
|
|
||||||
|
|
||||||
build_uboot_payload()
|
|
||||||
{
|
|
||||||
x_ ./update trees -b u-boot $board
|
x_ ./update trees -b u-boot $board
|
||||||
ubdir="elf/u-boot/$board/$uboot_config"
|
ubdir="elf/u-boot/$board/$uboot_config"
|
||||||
ubootelf="$ubdir/u-boot.elf" && [ ! -f "$ubootelf" ] && \
|
ubootelf="$ubdir/u-boot.elf" && [ ! -f "$ubootelf" ] && \
|
||||||
|
|
Loading…
Reference in New Issue