summaryrefslogtreecommitdiffstats
path: root/sys/conf/kern.post.mk
diff options
context:
space:
mode:
authorjb <jb@FreeBSD.org>2008-05-23 03:53:49 +0000
committerjb <jb@FreeBSD.org>2008-05-23 03:53:49 +0000
commit787e446b2cbf6d3977d4d3fa94e855a2923494d3 (patch)
treeb7532365cd39ba407ee25a2163db8b0e838dd79d /sys/conf/kern.post.mk
parent8ca3be0a3b7da2121e336a438569a0ef91ac6f2e (diff)
downloadFreeBSD-src-787e446b2cbf6d3977d4d3fa94e855a2923494d3.zip
FreeBSD-src-787e446b2cbf6d3977d4d3fa94e855a2923494d3.tar.gz
Add support for generating CTF data for the kernel.
Diffstat (limited to 'sys/conf/kern.post.mk')
-rw-r--r--sys/conf/kern.post.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/conf/kern.post.mk b/sys/conf/kern.post.mk
index dbd678a..c0b0135 100644
--- a/sys/conf/kern.post.mk
+++ b/sys/conf/kern.post.mk
@@ -86,6 +86,9 @@ ${FULLKERNEL}: ${SYSTEM_DEP} vers.o
@rm -f ${.TARGET}
@echo linking ${.TARGET}
${SYSTEM_LD}
+.if defined(CTFMERGE)
+ ${SYSTEM_CTFMERGE}
+.endif
.if !defined(DEBUG)
${OBJCOPY} --strip-debug ${.TARGET}
.endif
OpenPOWER on IntegriCloud