Quoting "M. Warner Losh" <i...@bsdimp.com> (from Tue, 06 Apr 2010
10:54:17 -0600 (MDT)):
In message: <20100405181450.13494itjj2ehj...@webmail.leidinger.net>
Alexander Leidinger <netch...@freebsd.org> writes:
: Warner, do you mind if I back-out r206082 and change the place where
: NORMAL_CTFCONVERT is used instead (fist I have to search for it
: again... not today)? It would make it consistent with all other places
: (SYSTEM_CTFCONVERT and the plain test and use of CTFxxx).
Go ahead. I just did the fast and dirty fix. I though it was
consistent with how other things were done, but if not, feel free to
correct it. Also, see bde's commentary :)
I can not find it, can you please forward it to me?
Here is what I have ATM (copy&paste, so tabs are probably mangled):
---snip---
Index: usr.sbin/config/mkmakefile.c
===================================================================
--- usr.sbin/config/mkmakefile.c (revision 206031)
+++ usr.sbin/config/mkmakefile.c (working copy)
@@ -741,7 +741,7 @@
printf("config: don't know rules for
%s\n", np); break;
}
- snprintf(cmd, sizeof(cmd), "${%s_%c%s}\n.if
defined(NORMAL_CTFCONVERT) &&
!empty(NORMAL_CTFCONVERT)\n\t${NORMAL_CTFCONVERT}\n.endif", ftype,
+ snprintf(cmd, sizeof(cmd),
"${%s_%c%s}\...@${normal_ctfconvert}", ftype,
toupper(och),
ftp->f_flags & NOWERROR ? "_NOWERROR" : "");
compilewith = cmd;
Index: sys/conf/kern.pre.mk
===================================================================
--- sys/conf/kern.pre.mk (revision 206248)
+++ sys/conf/kern.pre.mk (working copy)
@@ -128,7 +128,7 @@
NORMAL_M= ${AWK} -f $S/tools/makeobjops.awk ${.IMPSRC} -c ; \
${CC} -c ${CFLAGS} ${WERROR} ${PROF} ${.PREFIX}.c
-NORMAL_CTFCONVERT= @[ -z "${CTFCONVERT}" -o -n "${NO_CTF}" ] ||
${CTFCONVERT} ${CTFFLAGS} ${.TARGET}
+NORMAL_CTFCONVERT= [ -z "${CTFCONVERT}" -o -n "${NO_CTF}" ] ||
${CTFCONVERT} ${CTFFLAGS} ${.TARGET}
NORMAL_LINT= ${LINT} ${LINTFLAGS} ${CFLAGS:M-[DIU]*} ${.IMPSRC}
---snip---
Bye,
Alexander.
--
http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137
Look before you leap.
-- Samuel Butler
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"