Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/modules/dtrace Build the netbsd32_syscall module if mips64.



details:   https://anonhg.NetBSD.org/src/rev/8647dc61b981
branches:  trunk
changeset: 961097:8647dc61b981
user:      simonb <simonb%NetBSD.org@localhost>
date:      Sat Apr 10 15:34:05 2021 +0000

description:
Build the netbsd32_syscall module if mips64.
Don't build the linux_syscall module if mips*

diffstat:

 sys/modules/dtrace/Makefile |  9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 91f0d48d62b1 -r 8647dc61b981 sys/modules/dtrace/Makefile
--- a/sys/modules/dtrace/Makefile       Sat Apr 10 13:54:25 2021 +0000
+++ b/sys/modules/dtrace/Makefile       Sat Apr 10 15:34:05 2021 +0000
@@ -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
 



Home | Main Index | Thread Index | Old Index