Date: Sat, 17 Mar 2018 17:18:29 +0000 (UTC) From: Warner Losh <imp@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r331099 - head/sys/conf Message-ID: <201803171718.w2HHITua059676@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: imp Date: Sat Mar 17 17:18:29 2018 New Revision: 331099 URL: https://svnweb.freebsd.org/changeset/base/331099 Log: Add EFI to kernel options. Some parts of MI modules will soon depend on whether EFI is available or not. Add EFI to the list of kernel options so we can use it in the modules build. Modified: head/sys/conf/kern.opts.mk Modified: head/sys/conf/kern.opts.mk ============================================================================== --- head/sys/conf/kern.opts.mk Sat Mar 17 17:05:48 2018 (r331098) +++ head/sys/conf/kern.opts.mk Sat Mar 17 17:18:29 2018 (r331099) @@ -30,6 +30,7 @@ __DEFAULT_YES_OPTIONS = \ CDDL \ CRYPT \ CUSE \ + EFI \ FORMAT_EXTENSIONS \ INET \ INET6 \ @@ -89,6 +90,11 @@ BROKEN_OPTIONS+= OFED # Things that don't work based on toolchain support. .if ${MACHINE} != "i386" && ${MACHINE} != "amd64" BROKEN_OPTIONS+= KERNEL_RETPOLINE +.endif + +# EFI doesn't exist on mips, powerpc, sparc or riscv. +.if ${MACHINE:Mmips} || ${MACHINE:Mpowerpc} || ${MACHINE:Msparc64} || ${MACHINE:Mriscv} +BROKEN_OPTIONS+=EFI .endif # expanded inline from bsd.mkopt.mk to avoid share/mk dependency
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803171718.w2HHITua059676>