Add CPUCFLAGS for the strongarm and xscale CPUs.
This commit is contained in:
parent
b19d97eb9c
commit
fba25c542c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=135678
@ -109,6 +109,14 @@ _CPUCFLAGS = -mcpu=ev45
|
||||
. elif ${CPUTYPE} == "ev4"
|
||||
_CPUCFLAGS = -mcpu=ev4
|
||||
. endif
|
||||
. elif ${MACHINE_ARCH} == "arm"
|
||||
. if ${CPUTYPE} == "strongarm"
|
||||
_CPUCFLAGS = -mcpu=strongarm
|
||||
. elif ${CPUTYPE} == "xscale"
|
||||
#XXX: gcc doesn't seem to like -mcpu=xscale, and dies while rebuilding itself
|
||||
#_CPUCFLAGS = -mcpu=xscale
|
||||
_CPUCFLAGS = -D__XSCALE__
|
||||
. endif
|
||||
. endif
|
||||
|
||||
# Set up the list of CPU features based on the CPU type. This is an
|
||||
|
Loading…
Reference in New Issue
Block a user