summaryrefslogtreecommitdiffstats
path: root/sys/conf/files.mips
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2012-03-27 21:23:56 +0000
committerpeter <peter@FreeBSD.org>2012-03-27 21:23:56 +0000
commit0d733393340b7a2fe7ac702939e144d32784779a (patch)
treeae72efb6938071c7385a3cbeb52564369b71c025 /sys/conf/files.mips
parent97d2a4d873f12791dd1a1606523eae0062ccc7a5 (diff)
downloadFreeBSD-src-0d733393340b7a2fe7ac702939e144d32784779a.zip
FreeBSD-src-0d733393340b7a2fe7ac702939e144d32784779a.tar.gz
Allow (with a license warning) "options ZFS" to work in static kernels.
The 'make depend' rules have to use custom -I paths for the special compat includes for the opensolaris/zfs headers. This option will pull in the couple of files that are shared with dtrace, but they appear to correctly use the MODULE_VERSION/MODULE_DEPEND rules so loader should do the right thing, as should kldload. Reviewed by: pjd (glanced at)
Diffstat (limited to 'sys/conf/files.mips')
-rw-r--r--sys/conf/files.mips1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/conf/files.mips b/sys/conf/files.mips
index b95d062..2ae3bc9 100644
--- a/sys/conf/files.mips
+++ b/sys/conf/files.mips
@@ -85,6 +85,7 @@ libkern/ucmpdi2.c standard
#libkern/mips/strcmp.S standard
#libkern/mips/strncmp.S standard
+cddl/compat/opensolaris/kern/opensolaris_atomic.c optional zfs compile-with "${ZFS_C}"
compat/freebsd32/freebsd32_ioctl.c optional compat_freebsd32
compat/freebsd32/freebsd32_misc.c optional compat_freebsd32
compat/freebsd32/freebsd32_syscalls.c optional compat_freebsd32
OpenPOWER on IntegriCloud