libdtrace, dtrace(1) and lockstat(1) are for i386 and amd64 only right

now.

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
rpaulo 2010-07-31 17:13:14 +00:00
parent 8f93b5f706
commit 6a96e8c49c
2 changed files with 12 additions and 3 deletions

View File

@ -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>

View File

@ -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>