Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Jan 2008 22:29:36 GMT
From:      John Birrell <jb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 134156 for review
Message-ID:  <200801262229.m0QMTajW069444@repoman.freebsd.org>

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

Change 134156 by jb@jb_freebsd1 on 2008/01/26 22:28:37

	Build the fasttrap provider.

Affected files ...

.. //depot/projects/dtrace/src/sys/modules/dtrace/fasttrap/Makefile#3 edit

Differences ...

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

@@ -1,14 +1,19 @@
 # $FreeBSD$
 
-.PATH: ${.CURDIR}/../../cddl/dev/fasttrap
+.PATH: ${.CURDIR}/../../../cddl/dev/fasttrap
+
+KMOD=		fasttrap
+SRCS=		fasttrap.c
+SRCS+=		vnode_if.h
+
+CFLAGS+=	-I${.CURDIR}/../../../compat/opensolaris \
+		-I${.CURDIR}/../../../contrib/opensolaris/uts/common \
+		-I${.CURDIR}/../../..
 
-KMOD=	fasttrap
-SRCS=	fasttrap.c
-SRCS+=	bus_if.h device_if.h vnode_if.h
+.if ${MACHINE_ARCH} == "amd64" ||  ${MACHINE_ARCH} == "i386"
+CFLAGS+=	-I${.CURDIR}/../../../contrib/opensolaris/uts/intel
+.endif
 
-CFLAGS+=	-I${.CURDIR}/../../contrib/opensolaris/uts/common \
-		-I${.CURDIR}/../../../contrib/opensolaris/compat \
-		-I${.CURDIR}/../../contrib \
-		-I${.CURDIR}/../..
+CFLAGS+=	-DSMP -DDEBUG
 
 .include <bsd.kmod.mk>



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