build/roms: rename more functions for clarity
Signed-off-by: Leah Rowe <leah@libreboot.org>9020vga
parent
62a5f54385
commit
2d7e7306ff
|
@ -58,6 +58,7 @@ main()
|
||||||
board="${x}"
|
board="${x}"
|
||||||
configure_target
|
configure_target
|
||||||
build_payloads
|
build_payloads
|
||||||
|
build_target_mainboard
|
||||||
[ -d "bin/${board}" ] || continue
|
[ -d "bin/${board}" ] || continue
|
||||||
targets="* bin/${board}\n${targets}"
|
targets="* bin/${board}\n${targets}"
|
||||||
done
|
done
|
||||||
|
@ -133,7 +134,7 @@ build_payloads()
|
||||||
x_ ./update trees -b memtest86plus
|
x_ ./update trees -b memtest86plus
|
||||||
|
|
||||||
[ "$payload_seabios" = "y" ] && x_ ./update trees -b seabios
|
[ "$payload_seabios" = "y" ] && x_ ./update trees -b seabios
|
||||||
for bt in grub_payload dependency_uboot target; do
|
for bt in grub_payload dependency_uboot; do
|
||||||
eval "build_${bt}"
|
eval "build_${bt}"
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
@ -193,7 +194,7 @@ build_uboot_payload()
|
||||||
err "Can't find u-boot build for board, $board";
|
err "Can't find u-boot build for board, $board";
|
||||||
}
|
}
|
||||||
|
|
||||||
build_target()
|
build_target_mainboard()
|
||||||
{
|
{
|
||||||
rm -f "${romdir}/"* || err "!prepare, rm files, ${romdir}"
|
rm -f "${romdir}/"* || err "!prepare, rm files, ${romdir}"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue