From owner-freebsd-current Sun Mar 11 19:32:58 2001 Delivered-To: freebsd-current@freebsd.org Received: from 200-227-201-236-as.acessonet.com.br (200-227-201-236-as.acessonet.com.br [200.227.201.236]) by hub.freebsd.org (Postfix) with ESMTP id BCE0937B71A for ; Sun, 11 Mar 2001 19:32:48 -0800 (PST) (envelope-from lioux@uol.com.br) Received: (qmail 56556 invoked by uid 1001); 12 Mar 2001 03:30:20 -0000 From: "Mario Sergio Fujikawa Ferreira" Date: Mon, 12 Mar 2001 00:29:58 -0300 To: freebsd-current@freebsd.org Cc: jkh@freebsd.org Subject: make.conf lack of CPUTYPE=k6-3 support Message-ID: <20010312002958.A55937@Fedaykin.here> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="liOOAslEiF7prFVr" Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --liOOAslEiF7prFVr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, Is there anything against adding support for k6-3 to the just added CPUTYPE mechanism? :) My little machine feels left out. Hehehhe I made a simple patch to etc/defaults/make.conf and share/mk/bsd.cpu.mk Should I have touched anything else? Regards, ps: I think this can be MFCed asap (even during the veil period) since it is very straightforward. -- Mario S F Ferreira - UnB - Brazil - "I guess this is a signature." lioux at ( freebsd dot org | linf dot unb dot br ) flames to beloved devnull@someotherworldbeloworabove.org --liOOAslEiF7prFVr Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="patch-etc::defaults::make.conf" --- etc/defaults/make.conf.orig Sat Mar 10 04:35:47 2001 +++ etc/defaults/make.conf Mon Mar 12 00:23:16 2001 @@ -22,7 +22,7 @@ # NO_CPU_CFLAGS variable below. # Currently the following CPU types are recognised: # Intel x86 architecture: -# (AMD CPUs) k7 k6-2 k6 k5 +# (AMD CPUs) k7 k6-3 k6-2 k6 k5 # (Intel CPUs) p4 p3 p2 i686 i586/mmx i586 i486 i386 # Alpha/AXP architecture: ev6 pca56 ev56 ev5 ev45 ev4 # --liOOAslEiF7prFVr Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="patch-share::mk::bsd.cpu.mk" --- share/mk/bsd.cpu.mk.orig Sun Mar 4 06:40:11 2001 +++ share/mk/bsd.cpu.mk Mon Mar 12 00:21:16 2001 @@ -30,6 +30,8 @@ . if ${MACHINE_ARCH} == "i386" . if ${CPUTYPE} == "k7" CFLAGS += -march=k6 # gcc doesn't support athlon yet, but it will +. elif ${CPUTYPE} == "k6-3" +CFLAGS += -march=k6 . elif ${CPUTYPE} == "k6-2" CFLAGS += -march=k6 . elif ${CPUTYPE} == "k6" @@ -75,6 +77,8 @@ .if ${MACHINE_ARCH} == "i386" . if ${CPUTYPE} == "k7" MACHINE_CPU = k7 3dnow k6 k5 i586 i486 i386 +. elif ${CPUTYPE} == "k6-3" +MACHINE_CPU = 3dnow k6 k5 i586 i486 i386 . elif ${CPUTYPE} == "k6-2" MACHINE_CPU = 3dnow k6 k5 i586 i486 i386 . elif ${CPUTYPE} == "k6" --liOOAslEiF7prFVr-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message