Module Name: src
Committed By: riz
Date: Fri Jan 22 21:55:51 UTC 2016
Modified Files:
src/share/mk: bsd.own.mk
Log Message:
Build DTrace userland by default on i386, amd64 and earm*
To generate a diff of this commit:
cvs rdiff -u -r1.883 -r1.884 src/share/mk/bsd.own.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/share/mk/bsd.own.mk
diff -u src/share/mk/bsd.own.mk:1.883 src/share/mk/bsd.own.mk:1.884
--- src/share/mk/bsd.own.mk:1.883 Sat Dec 19 00:25:50 2015
+++ src/share/mk/bsd.own.mk Fri Jan 22 21:55:51 2016
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.own.mk,v 1.883 2015/12/19 00:25:50 wiz Exp $
+# $NetBSD: bsd.own.mk,v 1.884 2016/01/22 21:55:51 riz Exp $
# This needs to be before bsd.init.mk
.if defined(BSD_MK_COMPAT_FILE)
@@ -976,6 +976,16 @@ MKZFS?= yes
.endif
#
+# DTrace works on amd64, i386 and earm*
+#
+
+.if ${MACHINE_ARCH} == "i386" || \
+ ${MACHINE_ARCH} == "x86_64" || \
+ !empty(MACHINE_ARCH:Mearm*)
+MKDTRACE?= yes
+MKCTF?= yes
+.endif
+#
# MK* options which default to "yes".
#
_MKVARS.yes= \