diff options
author | John Birrell <jb@FreeBSD.org> | 2008-07-05 06:12:14 +0000 |
---|---|---|
committer | John Birrell <jb@FreeBSD.org> | 2008-07-05 06:12:14 +0000 |
commit | 3a877a1d93e8a49f86fea6bed2dd702fd345de68 (patch) | |
tree | def22012b97ab3087aa50b7361baf62c4574ad0c /sys/conf/kern.post.mk | |
parent | 85f32b20878bbd378954e637edb8e2dd6ffca521 (diff) | |
download | src-3a877a1d93e8a49f86fea6bed2dd702fd345de68.tar.gz src-3a877a1d93e8a49f86fea6bed2dd702fd345de68.zip |
Add CTF conversion to the objects compiled from generated code.
This allows DTrace scripts to access variables like 'ostype'.
Notes
Notes:
svn path=/head/; revision=180282
Diffstat (limited to 'sys/conf/kern.post.mk')
-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 c0b013528f7b..be31b9afeaa4 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} |