Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F156691493
D2010.id4189.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
978 B
Referenced Files
None
Subscribers
None
D2010.id4189.diff
View Options
Index: head/sys/conf/kern.opts.mk
===================================================================
--- head/sys/conf/kern.opts.mk
+++ head/sys/conf/kern.opts.mk
@@ -48,6 +48,33 @@
NAND \
OFED
+# Some options are totally broken on some architectures. We disable
+# them. If you need to enable them on an experimental basis, you
+# must change this code.
+
+# Things that don't work based on the CPU
+.if ${MACHINE_CPUARCH} == "arm"
+BROKEN_OPTIONS+= CDDL ZFS
+.endif
+
+.if ${MACHINE_CPUARCH} == "mips"
+BROKEN_OPTIONS+= CDDL ZFS
+.endif
+
+.if ${MACHINE_CPUARCH} == "powerpc" && ${MACHINE_ARCH} == "powerpc"
+BROKEN_OPTIONS+= ZFS
+.endif
+
+# Things that don't work because the kernel doesn't have the support
+# for them.
+.if ${MACHINE} != "i386"
+BROKEN_OPTIONS+= EISA
+.endif
+
+.if ${MACHINE} != "i386" && ${MACHINE} != "amd64"
+BROKEN_OPTIONS+= OFED
+.endif
+
# expanded inline from bsd.mkopt.mk to avoid share/mk dependency
# Those that default to yes
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, May 16, 5:31 PM (8 h, 44 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33139781
Default Alt Text
D2010.id4189.diff (978 B)
Attached To
Mode
D2010: Use __ALWAYS_NO_OPTIONS for kernel options.
Attached
Detach File
Event Timeline
Log In to Comment