1 # $NetBSD: Makefile.inc,v 1.25 2013/09/03 00:30:19 matt Exp $
6 SRCS+= __aeabi_read_tp.S __sigaction14_sigtramp.c __sigtramp2.S
9 .if empty(LIBC_MACHINE_ARCH:Mearmv7*)
15 .if !empty(LIBC_MACHINE_ARCH:Mearm*)
16 SRCS+= __aeabi_ldivmod.S __aeabi_uldivmod.S
17 SRCS+= __aeabi_lcmp.c __aeabi_ulcmp.c
18 SRCS+= fixunsgen_ieee754.c fixunssfsi_ieee754.c
19 SRCS+= fixunsgen64_ieee754.c fixunsdfsi_ieee754.c
23 .if ${MKSOFTFLOAT} != "no"
24 CPPFLAGS += -DSOFTFLOAT
26 # for earm, use the 64-bit softfloat
27 .if ${LIBC_MACHINE_ARCH} == "arm" || ${LIBC_MACHINE_ARCH} == "armeb"
29 #SRCS+= floatunsidf_ieee754.c floatunsisf_ieee754.c
32 .include <softfloat/Makefile.inc>
34 .PATH : ${ARCHDIR}/hardfloat
35 SRCS.hardfloat+= fpgetround.c fpgetsticky.S fpgetmask.S
36 SRCS.hardfloat+= fpsetround.c fpsetmask.S fpsetsticky.S
37 .for f in ${SRCS.hardfloat}
38 CPPFLAGS.${f} += -mfpu=vfp
40 SRCS+= ${SRCS.hardfloat}