8a1eb34d66
MKSOFTFLOAT=yes). The main purpose of this feature is to let NetBSD work in machines with the 68040LC chip (those that have the FPU bug). All the work has been done by Bruce O'Neel <edoneel AT sdf.lonestar.org>, with some very minor changes by me; the patches were being posted to the port-mac68k mailing list. It has been tested for a long time by several users, including me. I have just verified that regular releases, as well as soft-float ones, continue to build. There have been no objections to this patch since I asked for them in July in the port-mac68k list.
18 lines
565 B
Makefile
18 lines
565 B
Makefile
# $NetBSD: Makefile.inc,v 1.4 2004/09/26 21:13:27 jmmv Exp $
|
|
|
|
SOFTFLOAT_BITS?=64
|
|
.PATH: ${ARCHDIR}/softfloat \
|
|
${.CURDIR}/softfloat/bits${SOFTFLOAT_BITS} ${.CURDIR}/softfloat
|
|
|
|
CPPFLAGS+= -I${ARCHDIR}/softfloat -I${.CURDIR}/softfloat
|
|
CPPFLAGS+= -DSOFTFLOAT_FOR_GCC
|
|
|
|
SRCS+= softfloat.c
|
|
|
|
SRCS+= fpgetround.c fpsetround.c fpgetmask.c fpsetmask.c \
|
|
fpgetsticky.c fpsetsticky.c
|
|
|
|
SRCS+= eqsf2.c nesf2.c gtsf2.c gesf2.c ltsf2.c lesf2.c negsf2.c \
|
|
eqdf2.c nedf2.c gtdf2.c gedf2.c ltdf2.c ledf2.c negdf2.c \
|
|
nexf2.c gtxf2.c gexf2.c negxf2.c unordsf2.c unorddf2.c
|