summaryrefslogtreecommitdiffstats
path: root/lib/libstand
diff options
context:
space:
mode:
authorbr <br@FreeBSD.org>2016-01-17 15:21:23 +0000
committerbr <br@FreeBSD.org>2016-01-17 15:21:23 +0000
commite0daa8fb6535861d32643e7056fb5025d04e772e (patch)
treedc2c17b47c2052a9bdd63857fff9be0a1be00232 /lib/libstand
parent7d0828c94e6533f7d0d139b0242cf16e417eab8b (diff)
downloadFreeBSD-src-e0daa8fb6535861d32643e7056fb5025d04e772e.zip
FreeBSD-src-e0daa8fb6535861d32643e7056fb5025d04e772e.tar.gz
Bring in initial libc and libstand support for RISC-V.
Reviewed by: andrew, emaste, kib Sponsored by: DARPA, AFRL Sponsored by: HEIF5 Differential Revision: https://reviews.freebsd.org/D4943
Diffstat (limited to 'lib/libstand')
-rw-r--r--lib/libstand/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libstand/Makefile b/lib/libstand/Makefile
index c85b694..8ae0e1a 100644
--- a/lib/libstand/Makefile
+++ b/lib/libstand/Makefile
@@ -65,8 +65,8 @@ SRCS+= aeabi_idivmod.S aeabi_ldivmod.S aeabi_uidivmod.S aeabi_uldivmod.S
SRCS+= aeabi_memcmp.S aeabi_memcpy.S aeabi_memmove.S aeabi_memset.S
.endif
-.if ${MACHINE_CPUARCH} == "aarch64"
-.PATH: ${LIBC_SRC}/aarch64/gen
+.if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "riscv"
+.PATH: ${LIBC_SRC}/${MACHINE_CPUARCH}/gen
.endif
.if ${MACHINE_CPUARCH} == "powerpc"
OpenPOWER on IntegriCloud