summaryrefslogtreecommitdiffstats
path: root/sys/conf
diff options
context:
space:
mode:
authorjb <jb@FreeBSD.org>2008-07-05 06:12:14 +0000
committerjb <jb@FreeBSD.org>2008-07-05 06:12:14 +0000
commit62e198e3179a13191226b09152f6e3ee7f6a14e0 (patch)
treedef22012b97ab3087aa50b7361baf62c4574ad0c /sys/conf
parentfb0369b0376e6785274ab66e3fb214f8e595155c (diff)
downloadFreeBSD-src-62e198e3179a13191226b09152f6e3ee7f6a14e0.zip
FreeBSD-src-62e198e3179a13191226b09152f6e3ee7f6a14e0.tar.gz
Add CTF conversion to the objects compiled from generated code.
This allows DTrace scripts to access variables like 'ostype'.
Diffstat (limited to 'sys/conf')
-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 c0b0135..be31b9a 100644
--- a/sys/conf/kern.post.mk
+++ b/sys/conf/kern.post.mk
@@ -236,6 +236,9 @@ kernel-reinstall:
config.o env.o hints.o vers.o vnode_if.o:
${NORMAL_C}
+.if defined(CTFCONVERT)
+ ${CTFCONVERT} ${CTFFLAGS} ${.TARGET}
+.endif
config.ln env.ln hints.ln vers.ln vnode_if.ln:
${NORMAL_LINT}
OpenPOWER on IntegriCloud