Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Jul 2006 18:58:01 GMT
From:      John Birrell <jb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 100921 for review
Message-ID:  <200607071858.k67Iw1aV060810@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=100921

Change 100921 by jb@jb_freebsd2 on 2006/07/07 18:57:11

	While porting to sun4v, treat some providers as "not yet".

Affected files ...

.. //depot/projects/dtrace/src/sys/modules/dtrace/Makefile#17 edit
.. //depot/projects/dtrace/src/sys/modules/dtrace/Makefile.inc#5 edit

Differences ...

==== //depot/projects/dtrace/src/sys/modules/dtrace/Makefile#17 (text+ko) ====

@@ -3,11 +3,14 @@
 .include <bsd.own.mk>
 .include "Makefile.inc"
 
-SUBDIR=	dtrace \
-	fbt \
-	profile \
-	prototype \
-	sdt \
-	systrace
+SUBDIR=		dtrace \
+		profile \
+		systrace
+
+.if ${MACHINE_ARCH} == "i386"
+SUBDIR+=	fbt \
+		prototype \
+		sdt
+.endif
 
 .include <bsd.subdir.mk>

==== //depot/projects/dtrace/src/sys/modules/dtrace/Makefile.inc#5 (text+ko) ====

@@ -3,9 +3,11 @@
 load	:
 	-kldload cyclic
 	-kldload dtrace
+.if ${MACHINE_ARCH} == "i386"
 	-kldload sdt
 	-kldload fbt
 	-kldload prototype
+.endif
 	-kldload profile
 	-kldload systrace
 	kldstat
@@ -13,9 +15,11 @@
 unload	:
 	-kldunload systrace
 	-kldunload profile
+.if ${MACHINE_ARCH} == "i386"
 	-kldunload prototype
 	-kldunload fbt
 	-kldunload sdt
+.endif
 	-kldunload dtrace
 	-kldunload cyclic
 	kldstat



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607071858.k67Iw1aV060810>