Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/matt-nb6-plus]: src/sys/rump/librump/rumpkern Only add atomic_cas_generi...
details: https://anonhg.NetBSD.org/src/rev/dc608288b3eb
branches: matt-nb6-plus
changeset: 774527:dc608288b3eb
user: matt <matt%NetBSD.org@localhost>
date: Thu Dec 06 17:20:26 2012 +0000
description:
Only add atomic_cas_generic.c to SRCS if there isn't already some
atomic_cas_* already in SRCS.
diffstat:
sys/rump/librump/rumpkern/Makefile.rumpkern | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (22 lines):
diff -r a018dd6097f2 -r dc608288b3eb sys/rump/librump/rumpkern/Makefile.rumpkern
--- a/sys/rump/librump/rumpkern/Makefile.rumpkern Thu Dec 06 17:14:23 2012 +0000
+++ b/sys/rump/librump/rumpkern/Makefile.rumpkern Thu Dec 06 17:20:26 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.rumpkern,v 1.115.2.1 2012/06/26 14:49:09 riz Exp $
+# $NetBSD: Makefile.rumpkern,v 1.115.2.1.2.1 2012/12/06 17:20:26 matt Exp $
#
.include "${RUMPTOP}/Makefile.rump"
@@ -194,10 +194,12 @@
.if ${MACHINE_CPU} == "arm" || ${MACHINE_CPU} == "hppa" \
|| ${MACHINE_CPU} == "mips" || ${MACHINE_CPU} == "sh3" \
|| ${MACHINE_CPU} == "vax" || ${MACHINE_ARCH} == "m68000"
+.if ${SRCS:Matomic_cas_*} == ""
CPPFLAGS+= -I${RUMPTOP}/../../common/lib/libc/atomic
SRCS+= atomic_cas_generic.c
#SRCS+= rump_atomic_cas_up.c
.endif
+.endif
.include <bsd.lib.mk>
.include <bsd.klinks.mk>
Home |
Main Index |
Thread Index |
Old Index