diff options
author | Doug Rabson <dfr@FreeBSD.org> | 2004-04-05 09:55:50 +0000 |
---|---|---|
committer | Doug Rabson <dfr@FreeBSD.org> | 2004-04-05 09:55:50 +0000 |
commit | 002d186bf0190de79264dff6a6f2c54ba69a05b9 (patch) | |
tree | 690b39aeab522347e37c359c2ab49039e4b05d1e | |
parent | 6a502855161c4c80c138c9f54a9750a9a91ce2bf (diff) | |
download | src-002d186bf0190de79264dff6a6f2c54ba69a05b9.tar.gz src-002d186bf0190de79264dff6a6f2c54ba69a05b9.zip |
Add ${CPUTYPE} support for crusoe processors (cribbed from Linux kernel
settings). Pretend that a crusoe is an i686 which doesn't like alignment
padding.
Notes
Notes:
svn path=/head/; revision=127888
-rw-r--r-- | share/mk/bsd.cpu.mk | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/share/mk/bsd.cpu.mk b/share/mk/bsd.cpu.mk index 0d75f7dc44b5..be1cde28ef1d 100644 --- a/share/mk/bsd.cpu.mk +++ b/share/mk/bsd.cpu.mk @@ -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} |