git: 18a39dedbdd3 - stable/14 - dtrace: Build systrace_freebsd32 only if COMPAT_FREEBSD32 is configured
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 30 Jan 2025 16:08:44 UTC
The branch stable/14 has been updated by markj:
URL: https://cgit.FreeBSD.org/src/commit/?id=18a39dedbdd3905dba4c5165f4839b332ffb2741
commit 18a39dedbdd3905dba4c5165f4839b332ffb2741
Author: Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2025-01-22 21:26:07 +0000
Commit: Mark Johnston <markj@FreeBSD.org>
CommitDate: 2025-01-30 15:23:04 +0000
dtrace: Build systrace_freebsd32 only if COMPAT_FREEBSD32 is configured
MFC after: 1 week
Sponsored by: Innovate UK
(cherry picked from commit 1e734f15c7099408f45d3b1ea433868d0468916f)
---
sys/modules/dtrace/Makefile | 2 ++
1 file changed, 2 insertions(+)
diff --git a/sys/modules/dtrace/Makefile b/sys/modules/dtrace/Makefile
index 73c71c5bd1fb..1ea2864ca103 100644
--- a/sys/modules/dtrace/Makefile
+++ b/sys/modules/dtrace/Makefile
@@ -29,7 +29,9 @@ SUBDIR+= fasttrap
.if ${MACHINE_CPUARCH} == "amd64" || \
${MACHINE_CPUARCH} == "aarch64" || \
${MACHINE_ARCH} == "powerpc64"
+.if !empty(COMPAT_FREEBSD32_ENABLED)
SUBDIR+= systrace_freebsd32
.endif
+.endif
.include <bsd.subdir.mk>