build/roms: simplify seabios dependency check

the update/trees script checks this binary itself, before
deciding whether to recompile/compile, so we don't need
to do such checks here.

Signed-off-by: Leah Rowe <leah@libreboot.org>
9020vga
Leah Rowe 2024-01-01 17:52:23 +00:00
parent fcf2b2bb05
commit 042c7877e9
1 changed files with 2 additions and 12 deletions

View File

@ -132,22 +132,12 @@ configure_dependencies()
[ "${payload_memtest}" != "y" ] || [ -f "src/${memtest_bin}" ] || \ [ "${payload_memtest}" != "y" ] || [ -f "src/${memtest_bin}" ] || \
x_ ./update trees -b memtest86plus x_ ./update trees -b memtest86plus
for bt in dependency_seabios grub_payload dependency_uboot target; do [ "$payload_seabios" = "y" ] && x_ ./update trees -b seabios
for bt in grub_payload dependency_uboot target; do
eval "build_${bt}" eval "build_${bt}"
done done
} }
build_dependency_seabios()
{
[ "${payload_seabios}" = "y" ] || return 0
[ -f "${seavgabiosrom}" ] && \
[ -f elf/seabios/default/libgfxinit/bios.bin.elf ] && \
[ -f elf/seabios/default/vgarom/bios.bin.elf ] && \
[ -f elf/seabios/default/normal/bios.bin.elf ] && return 0
x_ ./update trees -b seabios
}
build_grub_payload() build_grub_payload()
{ {
[ "$payload_grub" != "y" ] && [ "$payload_seabios_withgrub" != "y" ] \ [ "$payload_grub" != "y" ] && [ "$payload_seabios_withgrub" != "y" ] \