Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/modules DTrace: add the dtrace module to the build.



details:   https://anonhg.NetBSD.org/src/rev/a06b2e813f9b
branches:  trunk
changeset: 752263:a06b2e813f9b
user:      darran <darran%NetBSD.org@localhost>
date:      Sun Feb 21 11:14:47 2010 +0000

description:
DTrace: add the dtrace module to the build.

diffstat:

 sys/modules/Makefile |  13 ++++++++++---
 1 files changed, 10 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r 06ae967e5dd0 -r a06b2e813f9b sys/modules/Makefile
--- a/sys/modules/Makefile      Sun Feb 21 11:00:01 2010 +0000
+++ b/sys/modules/Makefile      Sun Feb 21 11:14:47 2010 +0000
@@ -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 (${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+=        solaris
 SUBDIR+=       zfs
 .endif
 



Home | Main Index | Thread Index | Old Index