build/roms: simplified config payload checks

Signed-off-by: Leah Rowe <leah@libreboot.org>
20240612_branch
Leah Rowe 2024-05-18 22:13:20 +01:00
parent 5b5dccd630
commit 21a7efaa95
1 changed files with 2 additions and 5 deletions

View File

@ -188,11 +188,8 @@ configure_target()
# that doesn't mean GRUB-withSeaBIOS will. For example, the board
# might have a graphics card whose vga rom coreboot doesn't execute
[ "$payload_grub" != "y" ] && [ "$payload_seabios" != "y" ] && \
[ "${payload_uboot}" != "y" ] && \
for configfile in "${targetdir}/config/"*; do
[ -e "${configfile}" ] || continue
$err "target '${board}' defines no payload"
done
[ "${payload_uboot}" != "y" ] && ! check_defconfig "$targetdir" \
&& $err "target '$board' defines no payload"
[ "$payload_uboot" != "n" ] && [ "$payload_uboot" != "y" ] && \
payload_uboot="n"