git: 944a4de2d211 - main - Remove `cam.d` when MK_DTRACE == no

From: Enji Cooper <ngie_at_FreeBSD.org>
Date: Fri, 24 Apr 2026 20:45:25 UTC
The branch main has been updated by ngie:

URL: https://cgit.FreeBSD.org/src/commit/?id=944a4de2d2114954599d8220e87f09e9102f55d3

commit 944a4de2d2114954599d8220e87f09e9102f55d3
Author:     Enji Cooper <ngie@FreeBSD.org>
AuthorDate: 2026-04-22 21:09:25 +0000
Commit:     Enji Cooper <ngie@FreeBSD.org>
CommitDate: 2026-04-24 20:45:13 +0000

    Remove `cam.d` when MK_DTRACE == no
    
    MFC with:       efb77950fdd
    Fixes:  efb77950fdd ("dtrace: Add definitiosn for the cam dtrace provider")
    Differential Revision:  https://reviews.freebsd.org/D56588
---
 tools/build/mk/OptionalObsoleteFiles.inc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/build/mk/OptionalObsoleteFiles.inc b/tools/build/mk/OptionalObsoleteFiles.inc
index 35ee7d094240..0b8d94093588 100644
--- a/tools/build/mk/OptionalObsoleteFiles.inc
+++ b/tools/build/mk/OptionalObsoleteFiles.inc
@@ -1505,6 +1505,7 @@ OLD_LIBS+=lib/libdtrace.so.2
 OLD_FILES+=usr/bin/ctfconvert
 OLD_FILES+=usr/bin/ctfdump
 OLD_FILES+=usr/bin/ctfmerge
+OLD_FILES+=usr/lib/dtrace/cam.d
 OLD_FILES+=usr/lib/dtrace/drti.o
 OLD_FILES+=usr/lib/dtrace/errno.d
 OLD_FILES+=usr/lib/dtrace/io.d