Date: Sat, 5 Jan 2008 04:34:39 GMT From: John Birrell <jb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 132540 for review Message-ID: <200801050434.m054YdD8005192@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=132540 Change 132540 by jb@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 \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200801050434.m054YdD8005192>