Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/conf Do COMPILE_CTFCONVERT on vers.o as same as other ta...



details:   https://anonhg.NetBSD.org/src/rev/41519851b177
branches:  trunk
changeset: 327528:41519851b177
user:      ozaki-r <ozaki-r%NetBSD.org@localhost>
date:      Mon Mar 10 02:36:50 2014 +0000

description:
Do COMPILE_CTFCONVERT on vers.o as same as other targets

Otherwise, we will get the error when building a kernel with -V MKDTRACE:
  ERROR: nbctfmerge: Input file vers.o was partially built from C sources,
  but no CTF data was present

diffstat:

 sys/conf/Makefile.kern.inc |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 7e88e00ea18f -r 41519851b177 sys/conf/Makefile.kern.inc
--- a/sys/conf/Makefile.kern.inc        Mon Mar 10 02:04:29 2014 +0000
+++ b/sys/conf/Makefile.kern.inc        Mon Mar 10 02:36:50 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.kern.inc,v 1.166 2014/03/10 02:04:29 ozaki-r Exp $
+#      $NetBSD: Makefile.kern.inc,v 1.167 2014/03/10 02:36:50 ozaki-r Exp $
 #
 # This file contains common `MI' targets and definitions and it is included
 # at the bottom of each `MD' ${MACHINE}/conf/Makefile.${MACHINE}.
@@ -355,6 +355,7 @@
        ${HOST_SH} $S/conf/newvers.sh ${_NVFLAGS}
        ${_MKTARGET_COMPILE}
        ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -c vers.c
+       ${COMPILE_CTFCONVERT}
 .endif
 
 .if defined(MEMORY_DISK_IMAGE)



Home | Main Index | Thread Index | Old Index