summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2004-08-11 21:51:27 +0000
committerobrien <obrien@FreeBSD.org>2004-08-11 21:51:27 +0000
commitf24c4fd00fcadf09247df319de003cf661ac03ac (patch)
tree781ee368f1ff1eef4dc22d9ad2e5ad7dcc91ee2e /share
parent09614db818117ff4a8007373f9e08a22da3e2e98 (diff)
downloadFreeBSD-src-f24c4fd00fcadf09247df319de003cf661ac03ac.zip
FreeBSD-src-f24c4fd00fcadf09247df319de003cf661ac03ac.tar.gz
Add more aliases for common CPUTYPE spellings
Diffstat (limited to 'share')
-rw-r--r--share/mk/bsd.cpu.mk10
1 files changed, 9 insertions, 1 deletions
diff --git a/share/mk/bsd.cpu.mk b/share/mk/bsd.cpu.mk
index 5ce8750..c013668 100644
--- a/share/mk/bsd.cpu.mk
+++ b/share/mk/bsd.cpu.mk
@@ -28,10 +28,18 @@ MACHINE_CPU = arm
# between e.g. i586 and pentium)
. if ${MACHINE_ARCH} == "i386"
-. if ${CPUTYPE} == "pentiumpro"
+. if ${CPUTYPE} == "pentium4"
+CPUTYPE = p4
+. elif ${CPUTYPE} == "pentium3"
+CPUTYPE = p3
+. elif ${CPUTYPE} == "pentiumpro"
CPUTYPE = i686
. elif ${CPUTYPE} == "pentium"
CPUTYPE = i586
+. elif ${CPUTYPE} == "opteron"
+CPUTYPE = athlon-mp
+. elif ${CPUTYPE} == "athlon64"
+CPUTYPE = athlon-xp
. elif ${CPUTYPE} == "k7"
CPUTYPE = athlon
. endif
OpenPOWER on IntegriCloud