Module Name:    src
Committed By:   christos
Date:           Tue Feb  2 18:38:10 UTC 2016

Modified Files:
        src/share/mk: bsd.kmodule.mk

Log Message:
Add the missing CTFMERGE step.


To generate a diff of this commit:
cvs rdiff -u -r1.57 -r1.58 src/share/mk/bsd.kmodule.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/mk/bsd.kmodule.mk
diff -u src/share/mk/bsd.kmodule.mk:1.57 src/share/mk/bsd.kmodule.mk:1.58
--- src/share/mk/bsd.kmodule.mk:1.57	Fri Jan 29 23:07:27 2016
+++ src/share/mk/bsd.kmodule.mk	Tue Feb  2 13:38:10 2016
@@ -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 @@ MKPIE=no
 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 @@ ${PROG}: ${OBJS} ${DPADD} ${KMODSCRIPT}
 		-o ${.TARGET} ${OBJS}
 .endif
 .endif
+.if defined(CTFMERGE)
+	${CTFMERGE} ${CTFMFLAGS} -o ${.TARGET} ${OBJS}
+.endif
 
 ##### Install rules
 .if !target(kmodinstall)

Reply via email to