Date: Sat, 11 May 2002 12:12:16 -0700 (PDT) From: "Steven G. Kargl" <kargl@troutmask.apl.washington.edu> To: freebsd-current@freebsd.org Subject: patch to add athlon to bsd.cpu.mk Message-ID: <200205111912.g4BJCG8W072725@troutmask.apl.washington.edu>
next in thread | raw e-mail | index | archive | help
This applies to post gcc 3.1 upgrades. -- Steve http://troutmask.apl.washington.edu/~kargl/ --- bsd.cpu.mk.orig Sat May 11 11:57:01 2002 +++ bsd.cpu.mk Sat May 11 12:00:49 2002 @@ -22,7 +22,7 @@ . elif ${CPUTYPE} == "pentium" CPUTYPE = i586 . elif ${CPUTYPE} == "athlon" -CPUTYPE = k7 +CPUTYPE = athlon . endif .endif @@ -32,8 +32,8 @@ .if !defined(NO_CPU_CFLAGS) || !defined(NO_CPU_COPTFLAGS) . if ${MACHINE_ARCH} == "i386" -. if ${CPUTYPE} == "k7" -_CPUCFLAGS = -march=k6 # gcc doesn't support athlon yet, but it will +. if ${CPUTYPE} == "athlon" +_CPUCFLAGS = -march=athlon . elif ${CPUTYPE} == "k6-2" _CPUCFLAGS = -march=k6 . elif ${CPUTYPE} == "k6" @@ -83,8 +83,8 @@ # presence of a CPU feature. .if ${MACHINE_ARCH} == "i386" -. if ${CPUTYPE} == "k7" -MACHINE_CPU = k7 3dnow mmx k6 k5 i586 i486 i386 +. if ${CPUTYPE} == "athlon" +MACHINE_CPU = athlon 3dnow mmx k6 k5 i586 i486 i386 . elif ${CPUTYPE} == "k6-2" MACHINE_CPU = 3dnow mmx k6 k5 i586 i486 i386 . elif ${CPUTYPE} == "k6" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200205111912.g4BJCG8W072725>