summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2006-07-19 11:27:19 +0000
committerdes <des@FreeBSD.org>2006-07-19 11:27:19 +0000
commit3ba8214f48b4d918203c3358528f4b25673487b5 (patch)
treea122e7b68c41bc82eddaa11a2bfb0f187d509d9a
parentf34ac3f2f62d8dc1246bbd838042c7819cca8cf2 (diff)
downloadFreeBSD-src-3ba8214f48b4d918203c3358528f4b25673487b5.zip
FreeBSD-src-3ba8214f48b4d918203c3358528f4b25673487b5.tar.gz
Add CPUTYPE support for Via C3 and C3-2 processors.
MFC after: 2 weeks
-rw-r--r--share/examples/etc/make.conf1
-rw-r--r--share/mk/bsd.cpu.mk4
2 files changed, 5 insertions, 0 deletions
diff --git a/share/examples/etc/make.conf b/share/examples/etc/make.conf
index 0e98d70..bdb5670 100644
--- a/share/examples/etc/make.conf
+++ b/share/examples/etc/make.conf
@@ -34,6 +34,7 @@
# athlon-tbird athlon k8 k6-3 k6-2 k6 k5
# (Intel CPUs) nocona pentium4[m] prescott pentium3[m] pentium-m
# pentium2 pentiumpro pentium-mmx pentium i486 i386
+# (Via CPUs) c3 c3-2
# Alpha/AXP architecture: ev67 ev6 pca56 ev56 ev5 ev45 ev4
# AMD64 architecture: opteron, athlon64, nocona
# Intel ia64 architecture: itanium2, itanium
diff --git a/share/mk/bsd.cpu.mk b/share/mk/bsd.cpu.mk
index 490cd19..00fa030 100644
--- a/share/mk/bsd.cpu.mk
+++ b/share/mk/bsd.cpu.mk
@@ -132,6 +132,10 @@ MACHINE_CPU = 3dnow mmx k6 k5 i586 i486 i386
MACHINE_CPU = mmx k6 k5 i586 i486 i386
. elif ${CPUTYPE} == "k5"
MACHINE_CPU = k5 i586 i486 i386
+. elif ${CPUTYPE} == "c3"
+MACHINE_CPU = 3dnow mmx i586 i486 i386
+. elif ${CPUTYPE} == "c3-2"
+MACHINE_CPU = sse mmx i586 i486 i386
. elif ${CPUTYPE} == "pentium4" || ${CPUTYPE} == "pentium4m" || ${CPUTYPE} == "pentium-m"
MACHINE_CPU = sse2 sse i686 mmx i586 i486 i386
. elif ${CPUTYPE} == "pentium3" || ${CPUTYPE} == "pentium3m"
OpenPOWER on IntegriCloud