Add support for earmhf and earmhfeb and add SRCS.hardfloat.
This commit is contained in:
parent
5e9ff8d257
commit
c2bb80258f
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile.inc,v 1.19 2013/01/29 19:15:52 matt Exp $
|
||||
# $NetBSD: Makefile.inc,v 1.20 2013/02/03 01:55:19 matt Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
|
@ -6,7 +6,7 @@ SRCS+= __aeabi_read_tp.S __sigaction14_sigtramp.c __sigtramp2.S
|
|||
|
||||
CPPFLAGS += -I.
|
||||
|
||||
.if ${MACHINE_ARCH} == "earm" || ${MACHINE_ARCH} == "earmeb"
|
||||
.if ${MACHINE_ARCH:Mearm*} != ""
|
||||
SRCS+= __aeabi_ldivmod.S __aeabi_uldivmod.S
|
||||
SRCS+= __aeabi_lcmp.c __aeabi_ulcmp.c
|
||||
SRCS+= fixunsgen_ieee754.c fixunssfsi_ieee754.c
|
||||
|
@ -23,4 +23,12 @@ SOFTFLOAT_BITS=32
|
|||
.endif
|
||||
|
||||
.include <softfloat/Makefile.inc>
|
||||
.else
|
||||
.PATH : ${ARCHDIR}/hardfloat
|
||||
SRCS.hardfloat+= fpgetround.c fpgetsticky.S fpgetmask.S
|
||||
SRCS.hardfloat+= fpsetround.c fpsetmask.S fpsetsticky.S
|
||||
.for f in ${SRCS.hardfloat}
|
||||
CPPFLAGS.${f} += -mfpu=vfp
|
||||
.endfor
|
||||
SRCS+= ${SRCS.hardfloat}
|
||||
.endif
|
||||
|
|
Loading…
Reference in New Issue