diff options
author | dfr <dfr@FreeBSD.org> | 2004-04-05 09:55:50 +0000 |
---|---|---|
committer | dfr <dfr@FreeBSD.org> | 2004-04-05 09:55:50 +0000 |
commit | fff0eafd3ded4e78d4d69bec7bc6f777dccefe1f (patch) | |
tree | 690b39aeab522347e37c359c2ab49039e4b05d1e /share | |
parent | e8bf917ce6a49bca55330ad113bf07980c182f8d (diff) | |
download | FreeBSD-src-fff0eafd3ded4e78d4d69bec7bc6f777dccefe1f.zip FreeBSD-src-fff0eafd3ded4e78d4d69bec7bc6f777dccefe1f.tar.gz |
Add ${CPUTYPE} support for crusoe processors (cribbed from Linux kernel
settings). Pretend that a crusoe is an i686 which doesn't like alignment
padding.
Diffstat (limited to 'share')
-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 0d75f7d..be1cde2 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} |