opnsense-src/sys/modules/dtrace/Makefile
Mark Johnston 769bc68773 sdt: Enable on 32-bit powerpc and powerpc64le
Reviewed by:	jhibbits, adrian
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D54814

(cherry picked from commit 6e32e8d7d16148e9bad1e3544363f318582f4c13)
2026-02-16 13:42:10 +00:00

36 lines
730 B
Makefile

.include "Makefile.inc"
SUBDIR= dtaudit \
dtmalloc \
dtnfscl \
dtrace \
dtraceall \
dtrace_test \
fbt \
profile \
prototype \
sdt \
systrace
.if ${MACHINE_CPUARCH} == "amd64" || ${MACHINE_CPUARCH} == "i386"
SUBDIR+= fasttrap systrace_linux
.endif
.if ${MACHINE_CPUARCH} == "amd64"
SUBDIR+= systrace_linux32
SUBDIR+= kinst
.endif
.if ${MACHINE_CPUARCH} == "riscv" || ${MACHINE_CPUARCH} == "aarch64"
SUBDIR+= kinst
.endif
.if ${MACHINE_CPUARCH} == "powerpc"
SUBDIR+= fasttrap
.endif
.if ${MACHINE_CPUARCH} == "amd64" || \
${MACHINE_CPUARCH} == "aarch64" || \
${MACHINE_ARCH} == "powerpc64"
.if !empty(COMPAT_FREEBSD32_ENABLED)
SUBDIR+= systrace_freebsd32
.endif
.endif
.include <bsd.subdir.mk>