diff options
| author | darran <darran@NetBSD.org> | 2010-02-21 11:14:47 +0000 |
|---|---|---|
| committer | darran <darran@NetBSD.org> | 2010-02-21 11:14:47 +0000 |
| commit | dea8f231d6e16c449e17acddd45e5cc6d6b43bb3 (patch) | |
| tree | 2042dc33a0e2dae15b180effe70b8450e79140ff /sys/modules | |
| parent | 7b822b43cb559d50625f6647fc7aa4988190373a (diff) | |
DTrace: add the dtrace module to the build.
Diffstat (limited to 'sys/modules')
| -rw-r--r-- | sys/modules/Makefile | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/sys/modules/Makefile b/sys/modules/Makefile index ce76be721be..b904a8cb769 100644 --- a/sys/modules/Makefile +++ b/sys/modules/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.38 2010/01/25 22:21:28 pooka Exp $ +# $NetBSD: Makefile,v 1.39 2010/02/21 11:14:47 darran Exp $ .include <bsd.own.mk> @@ -107,9 +107,16 @@ SUBDIR+= viadrm SUBDIR+= dm .endif -# we need solaris and zfs modules for ZFS -.if (${MKZFS} != "no") +.if (${MKDTRACE} != "no") +SUBDIR+= dtrace +.endif + +# we need solaris for the dtrace and zfs modules +.if (${MKDTRACE} != "no" || ${MKZFS} != "no") SUBDIR+= solaris +.endif + +.if (${MKZFS} != "no") SUBDIR+= zfs .endif |
