git: ad9d10a859ac - main - efi: mark as broken on i386

From: Warner Losh <imp_at_FreeBSD.org>
Date: Thu, 11 May 2023 20:06:53 UTC
The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=ad9d10a859ac2c65076f532dcfcc3bf5328a8ab1

commit ad9d10a859ac2c65076f532dcfcc3bf5328a8ab1
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2023-05-11 20:04:05 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2023-05-11 20:06:03 +0000

    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