build/roms: simplified config payload checks
Signed-off-by: Leah Rowe <leah@libreboot.org>audit2-merge1
parent
a243dc2308
commit
7a565c9f43
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue