summaryrefslogtreecommitdiff
path: root/share/mk/src.opts.mk
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2018-02-27 17:35:29 +0000
committerWarner Losh <imp@FreeBSD.org>2018-02-27 17:35:29 +0000
commit9e74797f30ffa3e29d54438933f74ad53ad37f99 (patch)
treeaebfc4291a772fde44b7732a2b46714525c1e28d /share/mk/src.opts.mk
parent6ef82c0ae222fa999597ccdc781fb954d1a534ab (diff)
downloadsrc-test2-9e74797f30ffa3e29d54438933f74ad53ad37f99.tar.gz
src-test2-9e74797f30ffa3e29d54438933f74ad53ad37f99.zip
Notes
Diffstat (limited to 'share/mk/src.opts.mk')
-rw-r--r--share/mk/src.opts.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/share/mk/src.opts.mk b/share/mk/src.opts.mk
index e4f558525ddb..5763def7429d 100644
--- a/share/mk/src.opts.mk
+++ b/share/mk/src.opts.mk
@@ -125,6 +125,7 @@ __DEFAULT_YES_OPTIONS = \
LPR \
LS_COLORS \
LZMA_SUPPORT \
+ LOADER_EFI \
LOADER_GELI \
MAIL \
MAILWRAPPER \
@@ -285,8 +286,9 @@ BROKEN_OPTIONS+=LIBSOFT
.if ${__T:Mmips*}
BROKEN_OPTIONS+=SSP
.endif
+# EFI doesn't exist on mips, powerpc, sparc or riscv.
.if ${__T:Mmips*} || ${__T:Mpowerpc*} || ${__T:Msparc64} || ${__T:Mriscv*}
-BROKEN_OPTIONS+=EFI
+BROKEN_OPTIONS+=EFI LOADER_EFI
.endif
.if ${__T:Mmips64*}
# profiling won't work on MIPS64 because there is only assembly for o32