Module Name: src
Committed By: matt
Date: Thu Jul 18 19:49:01 UTC 2013
Modified Files:
src/common/lib/libc/arch/m68k/atomic: Makefile.inc
Log Message:
invert tests ${MACHINE} != "m68000" -> ${MACHINE} == "m68k"
To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/common/lib/libc/arch/m68k/atomic/Makefile.inc
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/common/lib/libc/arch/m68k/atomic/Makefile.inc
diff -u src/common/lib/libc/arch/m68k/atomic/Makefile.inc:1.9 src/common/lib/libc/arch/m68k/atomic/Makefile.inc:1.10
--- src/common/lib/libc/arch/m68k/atomic/Makefile.inc:1.9 Sun Jan 4 17:54:29 2009
+++ src/common/lib/libc/arch/m68k/atomic/Makefile.inc Thu Jul 18 19:49:00 2013
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.9 2009/01/04 17:54:29 pooka Exp $
+# $NetBSD: Makefile.inc,v 1.10 2013/07/18 19:49:00 matt Exp $
#
# Note: The atomic operations here in these assembly files are atomic
@@ -11,7 +11,7 @@
.if defined(LIB) && (${LIB} == "kern" || ${LIB} == "c" || ${LIB} == "pthread" \
|| ${LIB} == "rump")
-.if ${MACHINE_ARCH} != "m68000"
+.if ${MACHINE_ARCH} == "m68k"
SRCS+= atomic_add.S atomic_and.S atomic_cas.S atomic_dec.S \
atomic_inc.S atomic_or.S atomic_swap.S membar_ops_nop.c
@@ -27,7 +27,7 @@ SRCS+= atomic_add_32_cas.c atomic_add_3
.endif
.if defined(LIB) && (${LIB} == "c" || ${LIB} == "pthread")
-.if ${MACHINE_ARCH} != "m68000"
+.if ${MACHINE_ARCH} == "m68k"
SRCS+= atomic_init_cas.c