Date: Thu, 15 Jan 2009 06:54:59 +0000 (UTC) From: Craig Rodrigues <rodrigc@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r187290 - head/sys/conf Message-ID: <200901150654.n0F6sxv6067467@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: rodrigc Date: Thu Jan 15 06:54:59 2009 New Revision: 187290 URL: http://svn.freebsd.org/changeset/base/187290 Log: Revert previous change, since revision 187103 fixed the problem. So now, if you: - specify "makeoptions DEBUG=-g" in your kernel config - make buildkernel WITH_CTF=1, then "-g" will be added to CTFFLAGS. However, "-g" will still not be added to CTFFLAGS when building kernel modules, if the above steps are performed. This needs to be fixed. Noticed by: thompsa Modified: head/sys/conf/kern.pre.mk Modified: head/sys/conf/kern.pre.mk ============================================================================== --- head/sys/conf/kern.pre.mk Thu Jan 15 06:44:22 2009 (r187289) +++ head/sys/conf/kern.pre.mk Thu Jan 15 06:54:59 2009 (r187290) @@ -129,7 +129,7 @@ NORMAL_M= ${AWK} -f $S/tools/makeobjops. ${CC} -c ${CFLAGS} ${WERROR} ${PROF} ${.PREFIX}.c .if defined(CTFCONVERT) -NORMAL_CTFCONVERT= ${CTFCONVERT} ${DEBUG} ${CTFFLAGS} ${.TARGET} +NORMAL_CTFCONVERT= ${CTFCONVERT} ${CTFFLAGS} ${.TARGET} .else NORMAL_CTFCONVERT= .endif @@ -143,7 +143,7 @@ SYSTEM_OBJS= locore.o ${MDOBJS} ${OBJS} SYSTEM_OBJS+= ${SYSTEM_CFILES:.c=.o} SYSTEM_OBJS+= hack.So .if defined(CTFMERGE) -SYSTEM_CTFMERGE= ${CTFMERGE} ${DEBUG} ${CTFFLAGS} -o ${.TARGET} ${SYSTEM_OBJS} vers.o +SYSTEM_CTFMERGE= ${CTFMERGE} ${CTFFLAGS} -o ${.TARGET} ${SYSTEM_OBJS} vers.o LD+= -g .endif SYSTEM_LD= @${LD} -Bdynamic -T ${LDSCRIPT} \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901150654.n0F6sxv6067467>