Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Mar 2001 00:29:58 -0300
From:      "Mario Sergio Fujikawa Ferreira" <lioux@uol.com.br>
To:        freebsd-current@freebsd.org
Cc:        jkh@freebsd.org
Subject:   make.conf lack of CPUTYPE=k6-3 support
Message-ID:  <20010312002958.A55937@Fedaykin.here>

next in thread | raw e-mail | index | archive | help

--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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010312002958.A55937>