git: 1e734f15c709 - main - dtrace: Build systrace_freebsd32 only if COMPAT_FREEBSD32 is configured
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 22 Jan 2025 21:30:04 UTC
The branch main has been updated by markj:
URL: https://cgit.FreeBSD.org/src/commit/?id=1e734f15c7099408f45d3b1ea433868d0468916f
commit 1e734f15c7099408f45d3b1ea433868d0468916f
Author: Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2025-01-22 21:26:07 +0000
Commit: Mark Johnston <markj@FreeBSD.org>
CommitDate: 2025-01-22 21:26:07 +0000
dtrace: Build systrace_freebsd32 only if COMPAT_FREEBSD32 is configured
MFC after: 1 week
Sponsored by: Innovate UK
---
sys/modules/dtrace/Makefile | 2 ++
1 file changed, 2 insertions(+)
diff --git a/sys/modules/dtrace/Makefile b/sys/modules/dtrace/Makefile
index 9a67f517fc5c..3a3769b8b4b5 100644
--- a/sys/modules/dtrace/Makefile
+++ b/sys/modules/dtrace/Makefile
@@ -27,8 +27,10 @@ SUBDIR+= fasttrap
.if ${MACHINE_CPUARCH} == "amd64" || \
${MACHINE_CPUARCH} == "aarch64" || \
${MACHINE_ARCH} == "powerpc64"
+.if !empty(COMPAT_FREEBSD32_ENABLED)
SUBDIR+= systrace_freebsd32
.endif
+.endif
.if ${MACHINE_CPUARCH} != "powerpc" || ${MACHINE_ARCH} == "powerpc64"
SUBDIR+= sdt
.endif