Module Name:    src
Committed By:   darran
Date:           Sun Feb 21 11:14:47 UTC 2010

Modified Files:
        src/sys/modules: Makefile

Log Message:
DTrace: add the dtrace module to the build.


To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 src/sys/modules/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/modules/Makefile
diff -u src/sys/modules/Makefile:1.38 src/sys/modules/Makefile:1.39
--- src/sys/modules/Makefile:1.38	Mon Jan 25 22:21:28 2010
+++ src/sys/modules/Makefile	Sun Feb 21 11:14:47 2010
@@ -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+= 	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
 

Reply via email to