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 | |
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')
-rw-r--r-- | cddl/lib/Makefile | 6 | ||||
-rw-r--r-- | cddl/usr.sbin/Makefile | 9 |
2 files changed, 12 insertions, 3 deletions
diff --git a/cddl/lib/Makefile b/cddl/lib/Makefile index 5e995f4..33cda45 100644 --- a/cddl/lib/Makefile +++ b/cddl/lib/Makefile @@ -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> 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> |