Source-Changes-HG archive

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

[src/trunk]: src/share/mk Add the missing CTFMERGE step.



details:   https://anonhg.NetBSD.org/src/rev/59a1ecb75cd8
branches:  trunk
changeset: 813551:59a1ecb75cd8
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Feb 02 18:38:10 2016 +0000

description:
Add the missing CTFMERGE step.

diffstat:

 share/mk/bsd.kmodule.mk |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (27 lines):

diff -r 45a892b63e9e -r 59a1ecb75cd8 share/mk/bsd.kmodule.mk
--- a/share/mk/bsd.kmodule.mk   Tue Feb 02 13:55:50 2016 +0000
+++ b/share/mk/bsd.kmodule.mk   Tue Feb 02 18:38:10 2016 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.kmodule.mk,v 1.57 2016/01/30 04:07:27 christos Exp $
+#      $NetBSD: bsd.kmodule.mk,v 1.58 2016/02/02 18:38:10 christos Exp $
 
 # We are not building this with PIE
 MKPIE=no
@@ -10,6 +10,7 @@
 CFLAGS+=       -g
 # Only need symbols for ctf, strip them after converting to CTF
 CTFFLAGS=      -L VERSION
+CTFMFLAGS=     -t -L VERSION
 .endif
 
 .include <bsd.sys.mk>
@@ -189,6 +190,9 @@
                -o ${.TARGET} ${OBJS}
 .endif
 .endif
+.if defined(CTFMERGE)
+       ${CTFMERGE} ${CTFMFLAGS} -o ${.TARGET} ${OBJS}
+.endif
 
 ##### Install rules
 .if !target(kmodinstall)



Home | Main Index | Thread Index | Old Index