src.opts.mk: Comment about CTF & DTRACE relationship

WITH_CTF enables building userland components with CTF, and not the ctf*
tools as one might expect.  The tools are actually included with the
DTRACE knob.  Add a comment where the dependency is handled, as this has
caused confusion.

Reported by:	ivy
Reviewed by:	markj
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D56977
This commit is contained in:
Ed Maste
2026-05-12 13:19:46 -04:00
parent 23005ed3a1
commit f6178451ee
+2
View File
@@ -429,6 +429,8 @@ MK_KERBEROS_SUPPORT:= no
MK_MITKRB5:= no
.endif
# MK_DTRACE also gates ctf tools, so we cannot build userland with CTF
# if it is off.
.if ${MK_DTRACE} == "no"
MK_CTF:= no
.endif