summaryrefslogtreecommitdiffstats
path: root/sys/modules/zfs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sys/modules/zfs/Makefile')
-rw-r--r--sys/modules/zfs/Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/sys/modules/zfs/Makefile b/sys/modules/zfs/Makefile
index d0a6f44..53271f4 100644
--- a/sys/modules/zfs/Makefile
+++ b/sys/modules/zfs/Makefile
@@ -2,7 +2,7 @@
KMOD= zfs
-SRCS= vnode_if.h
+SRCS= bus_if.h device_if.h vnode_if.h
SUNW= ${.CURDIR}/../../cddl/contrib/opensolaris
@@ -12,6 +12,7 @@ SRCS+= acl_common.c
SRCS+= avl.c
.PATH: ${SUNW}/common/nvpair
SRCS+= nvpair.c
+SRCS+= nvpair_alloc_fixed.c
.PATH: ${.CURDIR}/../../cddl/contrib/opensolaris/common/unicode
SRCS+= u8_textprep.c
@@ -22,6 +23,7 @@ SRCS+= opensolaris_kstat.c
SRCS+= opensolaris_lookup.c
SRCS+= opensolaris_policy.c
SRCS+= opensolaris_string.c
+SRCS+= opensolaris_sysevent.c
SRCS+= opensolaris_taskq.c
SRCS+= opensolaris_uio.c
SRCS+= opensolaris_vfs.c
@@ -44,6 +46,7 @@ SRCS+= vnode.c
.PATH: ${SUNW}/uts/common/os
SRCS+= callb.c
+SRCS+= fm.c
SRCS+= list.c
SRCS+= nvpair_alloc_system.c
@@ -59,6 +62,9 @@ SRCS+= zmod.c
SRCS+= zmod_subr.c
SRCS+= zutil.c
+.PATH: ${.CURDIR}/../../crypto/sha2
+SRCS+= sha2.c
+
.PATH: ${SUNW}/common/zfs
.include "${SUNW}/uts/common/Makefile.files"
.PATH: ${SUNW}/uts/common/fs/zfs
@@ -79,6 +85,10 @@ CFLAGS+=-I${SUNW}/common
CFLAGS+=-I${.CURDIR}/../../../include
CFLAGS+=-DBUILDING_ZFS
+.if ${TARGET_ARCH} == "powerpc64"
+CFLAGS+=-mminimal-toc
+.endif
+
#CFLAGS+=-DDEBUG=1
#DEBUG_FLAGS=-g
OpenPOWER on IntegriCloud