aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/zfs
diff options
context:
space:
mode:
authorPawel Jakub Dawidek <pjd@FreeBSD.org>2007-06-08 12:35:47 +0000
committerPawel Jakub Dawidek <pjd@FreeBSD.org>2007-06-08 12:35:47 +0000
commit3b7917d766761f79841645281a679eb3d7f79898 (patch)
treec13033e14290bd6f5979ef75215789df0fb2f0d4 /sys/modules/zfs
parent083c4dd695fd0ec5c7275a7da68f260ce0d589be (diff)
Notes
Diffstat (limited to 'sys/modules/zfs')
-rw-r--r--sys/modules/zfs/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/modules/zfs/Makefile b/sys/modules/zfs/Makefile
index a12567784537..c9157af3e761 100644
--- a/sys/modules/zfs/Makefile
+++ b/sys/modules/zfs/Makefile
@@ -21,8 +21,13 @@ SRCS+= opensolaris_string.c
SRCS+= opensolaris_vfs.c
SRCS+= opensolaris_zone.c
+.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "ia64"
.PATH: ${.CURDIR}/../../contrib/opensolaris/common/atomic/${MACHINE_ARCH}
SRCS+= atomic.S
+.else
+.PATH: ${.CURDIR}/../../compat/opensolaris/kern
+SRCS+= opensolaris_atomic.c
+.endif
.PATH: ${.CURDIR}/../../contrib/opensolaris/uts/common/fs
SRCS+= gfs.c