svn commit: r280728 - head/sys/conf
Warner Losh
imp at FreeBSD.org
Fri Mar 27 02:35:26 UTC 2015
Author: imp
Date: Fri Mar 27 02:35:25 2015
New Revision: 280728
URL: https://svnweb.freebsd.org/changeset/base/280728
Log:
Categorize certain kernel builds as being broken in certain places.
Differential Revision: https://reviews.freebsd.org/D2011
Modified:
head/sys/conf/kern.opts.mk
Modified: head/sys/conf/kern.opts.mk
==============================================================================
--- head/sys/conf/kern.opts.mk Fri Mar 27 02:35:11 2015 (r280727)
+++ head/sys/conf/kern.opts.mk Fri Mar 27 02:35:25 2015 (r280728)
@@ -75,6 +75,34 @@ BROKEN_OPTIONS+= EISA
BROKEN_OPTIONS+= OFED
.endif
+# Options that cannot be turned on this architecture, usually because
+# of compilation or other issues so severe it cannot be used even
+# on an experimental basis
+__ALWAYS_NO_OPTIONS=
+
+# Things that don't work based on the CPU
+.if ${MACHINE_CPUARCH} == "arm"
+__ALWAYS_NO_OPTIONS+= CDDL ZFS
+.endif
+
+.if ${MACHINE_CPUARCH} == "mips"
+__ALWAYS_NO_OPTIONS+= CDDL ZFS
+.endif
+
+.if ${MACHINE_CPUARCH} == "powerpc" && ${MACHINE_ARCH} != "powerpc64"
+__ALWAYS_NO_OPTIONS+= ZFS
+.endif
+
+# Things that don't work because the kernel doesn't have the support
+# for them.
+.if ${MACHINE} != "i386"
+__ALWAYS_NO_OPTIONS+= EISA
+.endif
+
+.if ${MACHINE} != "i386" && ${MACHINE} != "amd64"
+__ALWAYS_NO_OPTIONS+= OFED
+.endif
+
# expanded inline from bsd.mkopt.mk to avoid share/mk dependency
# Those that default to yes
More information about the svn-src-head
mailing list