diff options
author | rpaulo <rpaulo@FreeBSD.org> | 2010-07-31 17:13:14 +0000 |
---|---|---|
committer | rpaulo <rpaulo@FreeBSD.org> | 2010-07-31 17:13:14 +0000 |
commit | 6a96e8c49c08f0ada01b08cd0f46e5c394f9fd7e (patch) | |
tree | ee22578cc9b2a3771fc214a94f923e9ee6e6de1e /cddl/usr.sbin/Makefile | |
parent | 8f93b5f7066dd868652d1d9fc4b38fa9a71bd36d (diff) | |
download | FreeBSD-src-6a96e8c49c08f0ada01b08cd0f46e5c394f9fd7e.zip FreeBSD-src-6a96e8c49c08f0ada01b08cd0f46e5c394f9fd7e.tar.gz |
libdtrace, dtrace(1) and lockstat(1) are for i386 and amd64 only right
now.
Sponsored by: The FreeBSD Foundation
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 f7c32f3..92f00be 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> |