diff options
author | jb <jb@FreeBSD.org> | 2008-07-05 06:12:14 +0000 |
---|---|---|
committer | jb <jb@FreeBSD.org> | 2008-07-05 06:12:14 +0000 |
commit | 62e198e3179a13191226b09152f6e3ee7f6a14e0 (patch) | |
tree | def22012b97ab3087aa50b7361baf62c4574ad0c /sys/conf | |
parent | fb0369b0376e6785274ab66e3fb214f8e595155c (diff) | |
download | FreeBSD-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.mk | 3 |
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} |