Add ${CPUTYPE} support for crusoe processors (cribbed from Linux kernel

settings). Pretend that a crusoe is an i686 which doesn't like alignment
padding.
This commit is contained in:
dfr 2004-04-05 09:55:50 +00:00
parent e8bf917ce6
commit fff0eafd3d

View File

@ -44,7 +44,10 @@ CPUTYPE = athlon
# http://gcc.gnu.org/onlinedocs/gcc/i386-and-x86-64-Options.html
. if ${MACHINE_ARCH} == "i386"
. if ${CPUTYPE} == "athlon-mp" || ${CPUTYPE} == "athlon-xp" || \
. if ${CPUTYPE} == "crusoe"
_ICC_CPUCFLAGS = -tpp6 -xiM
_CPUCFLAGS = -march=i686 -falign-functions=0 -falign-jumps=0 -falign-loops=0
. elif ${CPUTYPE} == "athlon-mp" || ${CPUTYPE} == "athlon-xp" || \
${CPUTYPE} == "athlon-4"
_ICC_CPUCFLAGS = -tpp6 -xiMK
_CPUCFLAGS = -march=${CPUTYPE}