i386/50801: athlon-tbird missing from bsd.cpu.mk
Glenn Johnson
glennpj at charter.net
Thu Apr 10 19:10:11 PDT 2003
>Number: 50801
>Category: i386
>Synopsis: athlon-tbird missing from bsd.cpu.mk
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Thu Apr 10 19:10:09 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Glenn Johnson
>Release: FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD gforce.johnson.home 5.0-CURRENT FreeBSD 5.0-CURRENT #23: Thu Apr 10 17:14:08 CDT 2003 root at gforce.johnson.home:/usr/obj/usr/src/sys/GFORCE i386
>Description:
The "athlon-tbird" processor label is missing from the CPUTYPE test in
bsd.cpu.mk. The attached patch adds it in.
>How-To-Repeat:
>Fix:
--- bsd.cpu.mk-fix begins here ---
--- /usr/share/mk/bsd.cpu.mk~ Thu Apr 10 18:01:09 2003
+++ /usr/share/mk/bsd.cpu.mk Thu Apr 10 20:55:58 2003
@@ -43,7 +43,7 @@
# http://gcc.gnu.org/onlinedocs/gcc/RS-6000-and-PowerPC-Options.html
. if ${MACHINE_ARCH} == "i386"
-. if ${CPUTYPE} == "athlon-mp" || ${CPUTYPE} == "athlon-xp" || ${CPUTYPE} == "athlon-4" || ${CPUTYPE} == "athlon"
+. if ${CPUTYPE} == "athlon-mp" || ${CPUTYPE} == "athlon-xp" || ${CPUTYPE} == "athlon-4" || ${CPUTYPE} == "athlon-tbird" || ${CPUTYPE} == "athlon"
_CPUCFLAGS = -march=${CPUTYPE}
. elif ${CPUTYPE} == "k6-3" || ${CPUTYPE} == "k6-2" || ${CPUTYPE} == "k6"
_CPUCFLAGS = -march=${CPUTYPE}
--- bsd.cpu.mk-fix ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list