PERFORCE change 100921 for review
John Birrell
jb at FreeBSD.org
Fri Jul 7 18:58:03 UTC 2006
http://perforce.freebsd.org/chv.cgi?CH=100921
Change 100921 by jb at 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
More information about the p4-projects
mailing list