mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-24 11:29:10 +00:00
0b972ac92e
Make armv7 as a new MACHINE_ARCH. Copy all the places we do armv6 and add armv7 as basically an alias. clang appears to generate code for armv7 by default. armv7 hard float isn't supported by the the in-tree gcc, so it hasn't been updated to have a new default. Support armv7 as a new valid MACHINE_ARCH (and by extension TARGET_ARCH). Add armv7 to the universe build. Differential Revision: https://reviews.freebsd.org/D12010
11 lines
239 B
Makefile
11 lines
239 B
Makefile
# $FreeBSD$
|
|
|
|
LDBL_PREC = 53
|
|
SYM_MAPS += ${.CURDIR}/arm/Symbol.map
|
|
|
|
.if ${MACHINE_ARCH:Marmv[67]*} && defined(CPUTYPE) && ${CPUTYPE:M*soft*} != ""
|
|
ARCH_SRCS = fenv-softfp.c fenv-vfp.c
|
|
.endif
|
|
|
|
CFLAGS.fenv-vfp.c= -mfpu=vfp -mfloat-abi=softfp
|