Date: Tue, 9 May 2006 21:07:55 GMT From: John Birrell <jb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 96881 for review Message-ID: <200605092107.k49L7tof097902@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=96881 Change 96881 by jb@jb_freebsd2 on 2006/05/09 21:07:10 Move the load/unload developer convenience targets to a common include. We need to load and unload the set in the right order. Affected files ... .. //depot/projects/dtrace/src/sys/modules/dtrace/Makefile#13 edit .. //depot/projects/dtrace/src/sys/modules/dtrace/Makefile.inc#1 add .. //depot/projects/dtrace/src/sys/modules/dtrace/dtrace/Makefile#5 edit .. //depot/projects/dtrace/src/sys/modules/dtrace/profile/Makefile#3 edit .. //depot/projects/dtrace/src/sys/modules/dtrace/systrace/Makefile#1 add Differences ... ==== //depot/projects/dtrace/src/sys/modules/dtrace/Makefile#13 (text+ko) ==== @@ -1,21 +1,10 @@ -# $FreeBSD# +# $FreeBSD$ .include <bsd.own.mk> +.include "Makefile.inc" SUBDIR= dtrace \ profile \ systrace -load : - -kldload dtrace - -kldload profile - -kldload systrace - kldstat - -unload : - -kldunload systrace - -kldunload profile - -kldunload dtrace - kldstat - .include <bsd.subdir.mk> ==== //depot/projects/dtrace/src/sys/modules/dtrace/dtrace/Makefile#5 (text+ko) ==== @@ -1,4 +1,4 @@ -# $FreeBSD# +# $FreeBSD$ .PATH: ${.CURDIR}/../../../cddl/dev/dtrace .PATH: ${.CURDIR}/../../../cddl/dev/dtrace/${MACHINE_ARCH} @@ -24,14 +24,4 @@ dtrace_unregister \ dtrace_probe_lookup -load : - -kldload dtrace - kldstat - -unload : - -kldunload systrace - -kldunload fasttrap - -kldunload dtrace - kldstat - .include <bsd.kmod.mk> ==== //depot/projects/dtrace/src/sys/modules/dtrace/profile/Makefile#3 (text+ko) ==== @@ -1,4 +1,4 @@ -# $FreeBSD# +# $FreeBSD$ .PATH: ${.CURDIR}/../../../cddl/dev/profile @@ -12,14 +12,4 @@ -I${.CURDIR}/../../../contrib \ -I${.CURDIR}/../../.. -D_SOLARIS_C_SOURCE -load : - -kldload dtrace - -kldload profile - kldstat - -unload : - -kldunload profile - -kldunload dtrace - kldstat - .include <bsd.kmod.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200605092107.k49L7tof097902>