svn commit: r210693 - in head/cddl: lib usr.sbin
Rui Paulo
rpaulo at FreeBSD.org
Sat Jul 31 17:13:15 UTC 2010
Author: rpaulo
Date: Sat Jul 31 17:13:14 2010
New Revision: 210693
URL: http://svn.freebsd.org/changeset/base/210693
Log:
libdtrace, dtrace(1) and lockstat(1) are for i386 and amd64 only right
now.
Sponsored by: The FreeBSD Foundation
Modified:
head/cddl/lib/Makefile
head/cddl/usr.sbin/Makefile
Modified: head/cddl/lib/Makefile
==============================================================================
--- head/cddl/lib/Makefile Sat Jul 31 17:10:55 2010 (r210692)
+++ head/cddl/lib/Makefile Sat Jul 31 17:13:14 2010 (r210693)
@@ -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>
Modified: head/cddl/usr.sbin/Makefile
==============================================================================
--- head/cddl/usr.sbin/Makefile Sat Jul 31 17:10:55 2010 (r210692)
+++ head/cddl/usr.sbin/Makefile Sat Jul 31 17:13:14 2010 (r210693)
@@ -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>
More information about the svn-src-all
mailing list