roms: simplify grubonly check in configure_target

Signed-off-by: Leah Rowe <leah@libreboot.org>
audit2-merge1
Leah Rowe 2024-06-15 23:42:45 +01:00 committed by Leah Rowe
parent c29b3ec3fc
commit 7265b9f112
1 changed files with 2 additions and 2 deletions

View File

@ -127,8 +127,8 @@ configure_target()
[ "$payload_grub_withseabios" = "y" ] && eval "$(setvars "y" \ [ "$payload_grub_withseabios" = "y" ] && eval "$(setvars "y" \
payload_grub payload_seabios payload_seabios_withgrub)" payload_grub payload_seabios payload_seabios_withgrub)"
[ "$payload_seabios_withgrub" = "y" ] && payload_seabios="y" [ "$payload_seabios_withgrub" = "y" ] && payload_seabios="y"
[ "$payload_seabios_grubonly" = "y" ] && payload_seabios="y" [ "$payload_seabios_grubonly" = "y" ] && \
[ "$payload_seabios_grubonly" = "y" ] && payload_seabios_withgrub="y" eval "$(setvars "y" payload_seabios payload_seabios_withgrub)"
# The reverse logic must not be applied. If SeaBIOS-with-GRUB works, # The reverse logic must not be applied. If SeaBIOS-with-GRUB works,
# that doesn't mean GRUB-with-SeaBIOS will, e.g. VGA ROM execution # that doesn't mean GRUB-with-SeaBIOS will, e.g. VGA ROM execution