Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Mar 2015 02:35:26 +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: r280728 - head/sys/conf
Message-ID:  <201503270235.t2R2ZQeA047220@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201503270235.t2R2ZQeA047220>