dtrace: Build systrace_freebsd32 only if COMPAT_FREEBSD32 is configured

MFC after:	1 week
Sponsored by:	Innovate UK

(cherry picked from commit 1e734f15c7099408f45d3b1ea433868d0468916f)
This commit is contained in:
Mark Johnston 2025-01-22 21:26:07 +00:00
parent 2e0d595651
commit 18a39dedbd

View file

@ -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>