Module Name: src
Committed By: simonb
Date: Sat Apr 10 15:34:05 UTC 2021
Modified Files:
src/sys/modules/dtrace: Makefile
Log Message:
Build the netbsd32_syscall module if mips64.
Don't build the linux_syscall module if mips*
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sys/modules/dtrace/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/modules/dtrace/Makefile
diff -u src/sys/modules/dtrace/Makefile:1.8 src/sys/modules/dtrace/Makefile:1.9
--- src/sys/modules/dtrace/Makefile:1.8 Wed Dec 4 10:12:47 2019
+++ src/sys/modules/dtrace/Makefile Sat Apr 10 15:34:05 2021
@@ -1,16 +1,19 @@
-# $NetBSD: Makefile,v 1.8 2019/12/04 10:12:47 martin Exp $
+# $NetBSD: Makefile,v 1.9 2021/04/10 15:34:05 simonb Exp $
# $FreeBSD: src/sys/modules/dtrace/Makefile,v 1.6.2.1 2009/08/03 08:13:06 kensmith Exp $
.include <bsd.own.mk>
SUBDIR= dtrace sdt fbt lockstat profile syscall
-.if ${MACHINE_ARCH} != "aarch64"
+.if ${MACHINE_ARCH} == "x86_64" || !empty(MACHINE_ARCH:Mmips64*)
+SUBDIR+= netbsd32_syscall
+.endif
+
+.if ${MACHINE_ARCH} != "aarch64" && ${MACHINE_CPU} != "mips"
SUBDIR+= linux_syscall
.endif
.if ${MACHINE_ARCH} == "x86_64"
-SUBDIR+= netbsd32_syscall
SUBDIR+= linux32_syscall
.endif