git: fe4a5593b35a - main - dtrace: Add pid provider to the build for powerpc
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 30 Oct 2022 20:03:04 UTC
The branch main has been updated by jhibbits:
URL: https://cgit.FreeBSD.org/src/commit/?id=fe4a5593b35a29ddef2b78cb836c213dcb2daada
commit fe4a5593b35a29ddef2b78cb836c213dcb2daada
Author: Justin Hibbits <jhibbits@FreeBSD.org>
AuthorDate: 2022-10-30 19:40:05 +0000
Commit: Justin Hibbits <jhibbits@FreeBSD.org>
CommitDate: 2022-10-30 20:00:56 +0000
dtrace: Add pid provider to the build for powerpc
The fasttrap pid provider has been in place for a long time, but stopped
getting built by efe88d92da in preparation for 64-bit atomics. 32-bit
emulation of 64-bit atomics was added in 9aafc7c05.
MFC after: 3 weeks
---
sys/modules/dtrace/Makefile | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/sys/modules/dtrace/Makefile b/sys/modules/dtrace/Makefile
index dd3ecc1b561a..0bdb66c9c751 100644
--- a/sys/modules/dtrace/Makefile
+++ b/sys/modules/dtrace/Makefile
@@ -20,6 +20,9 @@ SUBDIR+= fasttrap fbt systrace_linux
SUBDIR+= systrace_linux32
SUBDIR+= kinst
.endif
+.if ${MACHINE_CPUARCH} == "powerpc"
+SUBDIR+= fasttrap fbt
+.endif
.if ${MACHINE_CPUARCH} == "amd64" || \
${MACHINE_CPUARCH} == "aarch64" || \
${MACHINE_ARCH} == "powerpc64"
@@ -27,7 +30,6 @@ SUBDIR+= systrace_freebsd32
.endif
.if ${MACHINE_CPUARCH} == "aarch64" || \
${MACHINE_CPUARCH} == "arm" || \
- ${MACHINE_CPUARCH} == "powerpc" || \
${MACHINE_CPUARCH} == "riscv"
SUBDIR+= fbt
.endif