git: e60ca52b72e5 - main - Out of tree modules should be built with DTrace by default.

From: George V. Neville-Neil <gnn_at_FreeBSD.org>
Date: Wed, 01 May 2024 17:01:07 UTC
The branch main has been updated by gnn:

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

commit e60ca52b72e518f8394615bdad9cd9c85764caa2
Author:     George V. Neville-Neil <gnn@FreeBSD.org>
AuthorDate: 2024-05-01 17:00:52 +0000
Commit:     George V. Neville-Neil <gnn@FreeBSD.org>
CommitDate: 2024-05-01 17:00:52 +0000

    Out of tree modules should be built with DTrace by default.
---
 share/examples/modules/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/share/examples/modules/Makefile b/share/examples/modules/Makefile
index 0f0a2fb01e8a..bc7f6f6a57ac 100644
--- a/share/examples/modules/Makefile
+++ b/share/examples/modules/Makefile
@@ -4,3 +4,5 @@ KMOD=	skel
 SRCS=	skel.c
 
 .include <bsd.kmod.mk>
+
+CFLAGS:= ${CFLAGS:N -DKDTRACE_HOOKS}