aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2026-05-12 17:19:46 +0000
committerEd Maste <emaste@FreeBSD.org>2026-05-13 13:37:58 +0000
commitf6178451eea5b1ce6802fbb0e6eceb555c7b4841 (patch)
treef8a184df5abde681cbd57482f43a39f89d1109b3
parent23005ed3a1c8f6c111dff71b17daa6549b59a98a (diff)
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
-rw-r--r--share/mk/src.opts.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/share/mk/src.opts.mk b/share/mk/src.opts.mk
index 506b36b3d4b0..1fd63eb0db31 100644
--- a/share/mk/src.opts.mk
+++ b/share/mk/src.opts.mk
@@ -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