For cortex kernels, also specify -mfpu=neon

This commit is contained in:
matt 2012-12-08 07:05:23 +00:00
parent 5e6666bf7b
commit ce5eac0bf1
4 changed files with 10 additions and 9 deletions

View File

@ -1,5 +1,5 @@
# #
# $NetBSD: OVERO,v 1.19 2012/10/29 13:36:59 kiyohara Exp $ # $NetBSD: OVERO,v 1.20 2012/12/08 07:05:23 matt Exp $
# #
# OVERO -- Gumstix. Inc. Overo platforms kernel # OVERO -- Gumstix. Inc. Overo platforms kernel
# #
@ -17,7 +17,7 @@ maxusers 32
options CPU_CORTEXA8 options CPU_CORTEXA8
options OMAP_3530 options OMAP_3530
options PMAPCOUNTERS options PMAPCOUNTERS
makeoptions CPUFLAGS="-mcpu=cortex-a8" makeoptions CPUFLAGS="-mcpu=cortex-a8 -mfpu=neon"
# Architecture options # Architecture options

View File

@ -1,5 +1,6 @@
# $NetBSD: mk.bcm53xx,v 1.1 2012/09/01 00:15:11 matt Exp $ # $NetBSD: mk.bcm53xx,v 1.2 2012/12/08 07:05:23 matt Exp $
CPPFLAGS+= -mcpu=cortex-a9 CPPFLAGS+= -mcpu=cortex-a9 -mfpu=neon
#CPPFLAGS+= -mabi=aapcs-linux -Wa,-meabi=4
SYSTEM_FIRST_OBJ= bcm53xx_start.o SYSTEM_FIRST_OBJ= bcm53xx_start.o
SYSTEM_FIRST_SFILE= ${THISARM}/bcm53xx/bcm53xx_start.S SYSTEM_FIRST_SFILE= ${THISARM}/bcm53xx/bcm53xx_start.S

View File

@ -1,8 +1,8 @@
# $NetBSD: mk.beagle,v 1.8 2012/08/22 22:34:30 matt Exp $ # $NetBSD: mk.beagle,v 1.9 2012/12/08 07:05:23 matt Exp $
.if ${KERNEL_BUILD:T:MPANDA*} != "" .if ${KERNEL_BUILD:T:MPANDA*} != ""
CPPFLAGS+= -mcpu=cortex-a9 CPPFLAGS+= -mcpu=cortex-a9 -mfpu=neon
.else .else
CPPFLAGS+= -mcpu=cortex-a8 CPPFLAGS+= -mcpu=cortex-a8 -mfpu=neon
.endif .endif
SYSTEM_FIRST_OBJ= beagle_start.o SYSTEM_FIRST_OBJ= beagle_start.o

View File

@ -1,4 +1,4 @@
# $NetBSD: std.netwalker,v 1.3 2012/04/26 06:51:05 bsh Exp $ # $NetBSD: std.netwalker,v 1.4 2012/12/08 07:05:23 matt Exp $
# #
# standard NetBSD/evbarm options for Sharp NetWalker # standard NetBSD/evbarm options for Sharp NetWalker
@ -14,7 +14,7 @@ options NETWALKER
options EXEC_ELF32 options EXEC_ELF32
options EXEC_SCRIPT options EXEC_SCRIPT
options KERNEL_BASE_EXT=0xc0000000 options KERNEL_BASE_EXT=0xc0000000
makeoptions CPUFLAGS="-mcpu=cortex-a8" makeoptions CPUFLAGS="-mcpu=cortex-a8 -mfpu=neon"
# To support easy transit to ../arch/arm/arm32 # To support easy transit to ../arch/arm/arm32
options ARM32 options ARM32