add missing atomic_and_16_nv_cas.c atomic_and_8_nv_cas.c. trunk
authormrg <mrg@NetBSD.org>
Wed, 17 Apr 2019 07:40:34 +0000
branchtrunk
changeset 450537 ceed6755e960
parent 450536 b2b6cbe82f6c
child 450538 9b661c7fbd62
add missing atomic_and_16_nv_cas.c atomic_and_8_nv_cas.c.
common/lib/libc/arch/riscv/atomic/Makefile.inc
--- a/common/lib/libc/arch/riscv/atomic/Makefile.inc	Wed Apr 17 07:35:38 2019 +0000
+++ b/common/lib/libc/arch/riscv/atomic/Makefile.inc	Wed Apr 17 07:40:34 2019 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.inc,v 1.2 2014/10/16 18:52:17 dennis Exp $
+#	$NetBSD: Makefile.inc,v 1.3 2019/04/17 07:40:34 mrg Exp $
 
 .for op in add and cas nand or sub swap xor
 sizes=32
@@ -27,4 +27,8 @@
 
 .endif #LIB
 
+.if ${LIB} == "c"
+SRCS.atomic+=	atomic_and_16_nv_cas.c atomic_and_8_nv_cas.c
+.endif
+
 SRCS+=	${SRCS.atomic}