aboutsummaryrefslogtreecommitdiff
path: root/cddl
diff options
context:
space:
mode:
authorRui Paulo <rpaulo@FreeBSD.org>2010-07-31 17:13:14 +0000
committerRui Paulo <rpaulo@FreeBSD.org>2010-07-31 17:13:14 +0000
commitfd14f3b4a9668a463a97a105521ecc8d237af9c7 (patch)
treeee22578cc9b2a3771fc214a94f923e9ee6e6de1e /cddl
parentf28bde1aea7ec89c8216579332cafb50fabf6bf1 (diff)
libdtrace, dtrace(1) and lockstat(1) are for i386 and amd64 only right
now. Sponsored by: The FreeBSD Foundation
Notes
Notes: svn path=/head/; revision=210693
Diffstat (limited to 'cddl')
-rw-r--r--cddl/lib/Makefile6
-rw-r--r--cddl/usr.sbin/Makefile9
2 files changed, 12 insertions, 3 deletions
diff --git a/cddl/lib/Makefile b/cddl/lib/Makefile
index 5e995f4b60f4..33cda45cbaf9 100644
--- a/cddl/lib/Makefile
+++ b/cddl/lib/Makefile
@@ -5,7 +5,7 @@
SUBDIR= drti \
libavl \
libctf \
- libdtrace \
+ ${_libdtrace} \
libnvpair \
libumem \
libuutil \
@@ -19,4 +19,8 @@ _libzpool= libzpool
.endif
.endif
+.if ${MACHINE_ARCH} == amd64 || ${MACHINE_ARCH} == i386
+_libdtrace= libdtrace
+.endif
+
.include <bsd.subdir.mk>
diff --git a/cddl/usr.sbin/Makefile b/cddl/usr.sbin/Makefile
index f7c32f38f93d..92f00be9a569 100644
--- a/cddl/usr.sbin/Makefile
+++ b/cddl/usr.sbin/Makefile
@@ -2,8 +2,8 @@
.include <bsd.own.mk>
-SUBDIR= dtrace \
- lockstat \
+SUBDIR= ${_dtrace} \
+ ${_lockstat} \
${_zdb}
.if ${MK_ZFS} != "no"
@@ -12,4 +12,9 @@ _zdb= zdb
.endif
.endif
+.if ${MACHINE_ARCH} == amd64 || ${MACHINE_ARCH} == i386
+_dtrace= dtrace
+_lockstat= lockstat
+.endif
+
.include <bsd.subdir.mk>