summaryrefslogtreecommitdiff
path: root/sys/modules/dtrace/linux_syscall/Makefile
diff options
context:
space:
mode:
authorchs <chs@NetBSD.org>2018-05-28 21:04:59 +0000
committerchs <chs@NetBSD.org>2018-05-28 21:04:59 +0000
commiteada09acaeaeefa47b9692e7d920bf851863dfb7 (patch)
treecd53eb38844283a2a5b01c3cb1c9539d8ad6de25 /sys/modules/dtrace/linux_syscall/Makefile
parentdefb6b6ddc595a2a77bd37b2d01ff89341730763 (diff)
merge a new version of the CDDL dtrace and ZFS code.
this changes the upstream vendor from OpenSolaris to FreeBSD, and this version is based on FreeBSD svn r315983. in addition to the 10 years of improvements from upstream, this version also has these NetBSD-specific enhancements: - dtrace FBT probes can now be placed in kernel modules. - ZFS now supports mmap().
Diffstat (limited to 'sys/modules/dtrace/linux_syscall/Makefile')
-rw-r--r--sys/modules/dtrace/linux_syscall/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/modules/dtrace/linux_syscall/Makefile b/sys/modules/dtrace/linux_syscall/Makefile
index 45706f1fc59..e0430409dd5 100644
--- a/sys/modules/dtrace/linux_syscall/Makefile
+++ b/sys/modules/dtrace/linux_syscall/Makefile
@@ -8,8 +8,10 @@ KMOD= dtrace_syscall_linux
SRCS= systrace.c
CPPFLAGS+= -I${NETBSDSRCDIR}/external/cddl/osnet/sys \
- -I${NETBSDSRCDIR}/external/cddl/osnet/dist/uts/common
+ -I${NETBSDSRCDIR}/external/cddl/osnet/dist/uts/common \
+ -I${NETBSDSRCDIR}/external/cddl/osnet/dev/dtrace
-CPPFLAGS+= -Wno-unknown-pragmas
+CPPFLAGS+= -Wno-unknown-pragmas \
+ -Wno-discarded-qualifiers
.include <bsd.kmodule.mk>