From 6a96e8c49c08f0ada01b08cd0f46e5c394f9fd7e Mon Sep 17 00:00:00 2001 From: rpaulo Date: Sat, 31 Jul 2010 17:13:14 +0000 Subject: libdtrace, dtrace(1) and lockstat(1) are for i386 and amd64 only right now. Sponsored by: The FreeBSD Foundation --- cddl/usr.sbin/Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'cddl/usr.sbin') 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 -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 -- cgit v1.1