Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/common/lib/libc/arch/mips/atomic use ${MACHINE_MIPS64}
details: https://anonhg.NetBSD.org/src/rev/04615743fa39
branches: trunk
changeset: 1020858:04615743fa39
user: christos <christos%NetBSD.org@localhost>
date: Sun Apr 25 22:45:16 2021 +0000
description:
use ${MACHINE_MIPS64}
diffstat:
common/lib/libc/arch/mips/atomic/Makefile.inc | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (24 lines):
diff -r 7f97470c277f -r 04615743fa39 common/lib/libc/arch/mips/atomic/Makefile.inc
--- a/common/lib/libc/arch/mips/atomic/Makefile.inc Sun Apr 25 22:30:29 2021 +0000
+++ b/common/lib/libc/arch/mips/atomic/Makefile.inc Sun Apr 25 22:45:16 2021 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile.inc,v 1.14 2019/02/28 02:35:37 isaki Exp $
+# $NetBSD: Makefile.inc,v 1.15 2021/04/25 22:45:16 christos Exp $
.if defined(LIB) && (${LIB} == "kern" || ${LIB} == "c" || ${LIB} == "pthread" \
|| ${LIB} == "rump")
-.if ${MACHINE_ARCH:Mmips64*} == ""
+.if !${MACHINE_MIPS64}
SRCS+= atomic_add_32_cas.c atomic_add_32_nv_cas.c \
atomic_and_32_cas.c atomic_and_32_nv_cas.c \
atomic_dec_32_cas.c atomic_dec_32_nv_cas.c \
@@ -30,7 +30,7 @@
.if defined(LIB) && (${LIB} == "c" || ${LIB} == "pthread")
-.if ${MACHINE_ARCH:Mmips64*} == ""
+.if !${MACHINE_MIPS64}
SRCS+= atomic_init_testset.c atomic_cas_up.S
.else
SRCS+= atomic_cas.S atomic_init_cas.c atomic_cas_by_cas32.c
Home |
Main Index |
Thread Index |
Old Index