Leave selection of APCS mode to the compiler -- future versions of cpp will

get it right.

Always include new softfloat code -- it seems OK on arm32.
This commit is contained in:
bjh21 2001-03-07 00:49:48 +00:00
parent 7ffa2a0375
commit 328780b294

View File

@ -1,13 +1,9 @@
# $NetBSD: Makefile.inc,v 1.1 2000/12/29 20:13:44 bjh21 Exp $
# $NetBSD: Makefile.inc,v 1.2 2001/03/07 00:49:48 bjh21 Exp $
KMINCLUDES=
KMSRCS=arch/arm/gen/divsi3.S arch/arm/string/memmove.S \
arch/arm/string/memcpy.S
.if ${MACHINE_ARCH} == "arm26"
# __APCS_26__ required for SYS.h stuff, which uses ${CPP} and hence doesn't
# get the normal predefines.
CPPFLAGS+=-DSOFTFLOAT -D__APCS_26__
CPPFLAGS += -DSOFTFLOAT
.include <softfloat/Makefile.inc>
.endif