diff options
author | Rui Paulo <rpaulo@FreeBSD.org> | 2010-07-31 17:13:14 +0000 |
---|---|---|
committer | Rui Paulo <rpaulo@FreeBSD.org> | 2010-07-31 17:13:14 +0000 |
commit | fd14f3b4a9668a463a97a105521ecc8d237af9c7 (patch) | |
tree | ee22578cc9b2a3771fc214a94f923e9ee6e6de1e /cddl/usr.sbin/Makefile | |
parent | f28bde1aea7ec89c8216579332cafb50fabf6bf1 (diff) | |
download | src-fd14f3b4a9668a463a97a105521ecc8d237af9c7.tar.gz src-fd14f3b4a9668a463a97a105521ecc8d237af9c7.zip |
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/usr.sbin/Makefile')
-rw-r--r-- | cddl/usr.sbin/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
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> |