PERFORCE change 132540 for review

John Birrell jb at FreeBSD.org
Fri Jan 4 20:34:39 PST 2008


http://perforce.freebsd.org/chv.cgi?CH=132540

Change 132540 by jb at jb_freebsd1 on 2008/01/05 04:34:38

	Add SMP to the CFLAGS to make these build properly when built individually
	rather than as part of a buildkernel.
	
	I'll need to revise this when I get up to the arches that are UP only.
	For now I'll settle for the SMP case working properly because it is the
	harder one to solve.

Affected files ...

.. //depot/projects/dtrace/src/sys/modules/cyclic/Makefile#8 edit
.. //depot/projects/dtrace/src/sys/modules/dtrace/dtrace/Makefile#12 edit

Differences ...

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

@@ -12,7 +12,7 @@
 		-I${.CURDIR}/../..					\
 		-I${.CURDIR}/../../cddl/${MACHINE_ARCH}
 
-CFLAGS+=	-DDEBUG=1
+CFLAGS+=	-DSMP -DDEBUG=1
 
 IGNORE_PRAGMA=	1
 

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

@@ -26,7 +26,7 @@
 		-I${.CURDIR}/../../../contrib/opensolaris/uts/common \
 		-I${.CURDIR}/../../.. -DDIS_MEM
 
-CFLAGS+=	-DDEBUG
+CFLAGS+=	-DSMP -DDEBUG
 
 EXPORT_SYMS=	dtrace_register \
 		dtrace_unregister \


More information about the p4-projects mailing list