From ad9d10a859ac2c65076f532dcfcc3bf5328a8ab1 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Thu, 11 May 2023 14:04:05 -0600 Subject: [PATCH] efi: mark as broken on i386 We're never going to support EFI booting on i386 (32-bit). Start to decommission it, since it's never worked. Sponsored by: Netflix Reviewed by: tsoome, emaste Differential Revision: https://reviews.freebsd.org/D40011 --- share/mk/src.opts.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/share/mk/src.opts.mk b/share/mk/src.opts.mk index c61ce50a7c4e..f828bdc0151b 100644 --- a/share/mk/src.opts.mk +++ b/share/mk/src.opts.mk @@ -296,8 +296,8 @@ __DEFAULT_YES_OPTIONS+=LIB32 .else BROKEN_OPTIONS+=LIB32 .endif -# EFI doesn't exist on powerpc (well, officially) -.if ${__T:Mpowerpc*} +# EFI doesn't exist on powerpc (well, officially) and doesn't work on i386 +.if ${__T:Mpowerpc*} || ${__T} == "i386" BROKEN_OPTIONS+=EFI .endif # OFW is only for powerpc, exclude others