mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-14 23:39:33 +02:00
roms: merge build_uboot_payload to build_payloads
Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
+1
-4
@@ -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" ] && \
|
||||||
|
|||||||
Reference in New Issue
Block a user