kern.opts.mk: rationalize i386 EFI default with src.opts.mk

PR: 269994
Fixes: ad9d10a859 ("efi: mark as broken on i386")
Sponsored by: The FreeBSD Foundation
This commit is contained in:
Ed Maste 2023-05-12 10:39:42 -04:00
parent d1fdf357ae
commit 74674fef3c

View File

@ -89,8 +89,8 @@ BROKEN_OPTIONS+= OFED
BROKEN_OPTIONS+= KERNEL_RETPOLINE
.endif
# EFI doesn't exist on powerpc, or riscv
.if ${MACHINE:Mpowerpc} || ${MACHINE:Mriscv}
# EFI doesn't exist on powerpc or riscv and is broken on i386
.if ${MACHINE:Mpowerpc} || ${MACHINE:Mriscv} || ${MACHINE} == "i386"
BROKEN_OPTIONS+=EFI
.endif