Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/mk Build DTrace userland by default on i386, amd64 and...
details: https://anonhg.NetBSD.org/src/rev/a3f1521cc12c
branches: trunk
changeset: 343082:a3f1521cc12c
user: riz <riz%NetBSD.org@localhost>
date: Fri Jan 22 21:55:51 2016 +0000
description:
Build DTrace userland by default on i386, amd64 and earm*
diffstat:
share/mk/bsd.own.mk | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)
diffs (26 lines):
diff -r 7c2f89c76f49 -r a3f1521cc12c share/mk/bsd.own.mk
--- a/share/mk/bsd.own.mk Fri Jan 22 20:21:04 2016 +0000
+++ b/share/mk/bsd.own.mk Fri Jan 22 21:55:51 2016 +0000
@@ -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 @@
.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= \
Home |
Main Index |
Thread Index |
Old Index