freebsd-skq/lib/libc/riscv/Makefile.inc
brooks e0a42dac8d Correct an misunderstanding of MDSRCS.
MDSRCS it intended to allow assembly versions of funtions with C
implementations listed in MISRCS. The selection of the correct
machdep_ldis?.c for a given architecture does not follow this pattern
and the file should be added to SRCS directly.

Reviewed by:	emaste, imp, jhb
MFC after:	1 week
Sponsored by:	DARPA, AFRL
Differential Revision:	https://reviews.freebsd.org/D9841
2017-03-02 17:07:28 +00:00

14 lines
259 B
Makefile

# $FreeBSD$
#
# Machine dependent definitions for the RISC-V architecture.
#
.if ${MACHINE_ARCH:Mriscv*sf} != ""
CFLAGS+=-DSOFTFLOAT
.endif
# Long double is quad precision
GDTOASRCS+=strtorQ.c
SRCS+=machdep_ldisQ.c
SYM_MAPS+=${LIBC_SRCTOP}/riscv/Symbol.map