diff options
author | abs <abs@pkgsrc.org> | 2003-12-04 10:13:26 +0000 |
---|---|---|
committer | abs <abs@pkgsrc.org> | 2003-12-04 10:13:26 +0000 |
commit | 7edf62d3998dddcec81fada453c78c893344de3e (patch) | |
tree | cec39b882aae2f39a6ed70e5af738cb4ae74c208 /devel/cpuflags | |
parent | ae32165e56aaa950dca747d8974c8f0e91d295ec (diff) | |
download | pkgsrc-7edf62d3998dddcec81fada453c78c893344de3e.tar.gz |
Update cpuflags to 0.59:
- Handle i386: Mobile PIII, alpha: 21264a, powerpc: 603ev
Diffstat (limited to 'devel/cpuflags')
-rw-r--r-- | devel/cpuflags/Makefile | 4 | ||||
-rwxr-xr-x | devel/cpuflags/files/cpuflags.NetBSD | 40 |
2 files changed, 24 insertions, 20 deletions
diff --git a/devel/cpuflags/Makefile b/devel/cpuflags/Makefile index 508dd5f510f..fffa3027cdc 100644 --- a/devel/cpuflags/Makefile +++ b/devel/cpuflags/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.61 2003/10/19 00:24:28 rh Exp $ +# $NetBSD: Makefile,v 1.62 2003/12/04 10:13:26 abs Exp $ # -DISTNAME= cpuflags-0.58 +DISTNAME= cpuflags-0.59 CATEGORIES= sysutils MASTER_SITES= # empty DISTFILES= # empty diff --git a/devel/cpuflags/files/cpuflags.NetBSD b/devel/cpuflags/files/cpuflags.NetBSD index 162cba2d021..fd5dc0834ff 100755 --- a/devel/cpuflags/files/cpuflags.NetBSD +++ b/devel/cpuflags/files/cpuflags.NetBSD @@ -1,5 +1,5 @@ #!/bin/sh -# $NetBSD: cpuflags.NetBSD,v 1.43 2003/10/19 00:24:28 rh Exp $ +# $NetBSD: cpuflags.NetBSD,v 1.44 2003/12/04 10:13:26 abs Exp $ if [ -x /sbin/sysctl ] ;then SYSCTL=/sbin/sysctl @@ -31,7 +31,8 @@ case $hw_machine_arch in *[\(\ ]2106[46][-A\ \)]*) FLAGS="-mcpu=21064" ;; *[\(\ ]21164[-\ \)]*) FLAGS="-mcpu=21164" ;; *[\(\ ]21164A[-\ \)]*) FLAGS="-mcpu=21164a" ;; - *[\(\ ]21264B[-\ \)]*) FLAGS="-mcpu=21264" ;; + *[\(\ ]21264[-\ \)]*) FLAGS="-mcpu=21264" ;; + *[\(\ ]21264[AB][-\ \)]*) FLAGS="-mcpu=21264a" ;; esac ;; @@ -59,21 +60,23 @@ case $hw_machine_arch in esac ;; i386) case $hw_model in - *Intel\ Pentium\ II\ *) FLAGS='-march=pentium2' ;; - *Intel\ Pentium\ III\ *) FLAGS='-march=pentium3' ;; - *Intel\ Pentium\ 4\ *) FLAGS='-march=pentium4' ;; - *AMD\ K6-III*) FLAGS='-march=k6-3' ;; - *AMD\ K6-2*) FLAGS='-march=k6-2' ;; - *AMD\ K6*) FLAGS='-march=k6' ;; - *AMD\ Duron*) FLAGS='-march=athlon' ;; - *AMD\ Athlon\ 4*) FLAGS='-march=athlon-4' ;; - *AMD\ Athlon\ MP*) FLAGS='-march=athlon-mp' ;; - *AMD\ Athlon\ XP*) FLAGS='-march=athlon-xp' ;; - *AMD\ K7*|*AMD\ Athlon*) FLAGS='-march=athlon' ;; - *386-class*) FLAGS='-march=i386' ;; - *486-class*) FLAGS='-march=i486' ;; - *586-class*) FLAGS='-march=pentium' ;; - *686-class*) FLAGS='-march=pentiumpro' ;; + *Intel\ Pentium\ II\ *) FLAGS='-march=pentium2' ;; + *Intel\ Pentium\ III\ *) FLAGS='-march=pentium3' ;; + *Intel\ Mobile\ Pentium\ III\ *) FLAGS='-march=pentium3' ;; + *Intel\ Pentium\ M\ *) FLAGS='-march=pentium3' ;; + *Intel\ Pentium\ 4\ *) FLAGS='-march=pentium4' ;; + *AMD\ K6-III*) FLAGS='-march=k6-3' ;; + *AMD\ K6-2*) FLAGS='-march=k6-2' ;; + *AMD\ K6*) FLAGS='-march=k6' ;; + *AMD\ Duron*) FLAGS='-march=athlon' ;; + *AMD\ Athlon\ 4*) FLAGS='-march=athlon-4' ;; + *AMD\ Athlon\ MP*) FLAGS='-march=athlon-mp' ;; + *AMD\ Athlon\ XP*) FLAGS='-march=athlon-xp' ;; + *AMD\ K7*|*AMD\ Athlon*) FLAGS='-march=athlon' ;; + *386-class*) FLAGS='-march=i386' ;; + *486-class*) FLAGS='-march=i486' ;; + *586-class*) FLAGS='-march=pentium' ;; + *686-class*) FLAGS='-march=pentiumpro' ;; esac ;; m68k) case $hw_model in # Examples @@ -112,7 +115,7 @@ case $hw_machine_arch in 601\ *) FLAGS='-mcpu=601' ;; # Untested 602\ *) FLAGS='-mcpu=602' ;; # Untested 603\ *) FLAGS='-mcpu=603' ;; # Untested - 603ev\ *) FLAGS='-mcpu=603e' ;; # PM 4400 + 603e\ *|603ev\ *) FLAGS='-mcpu=603e' ;; # Umax C500 / PM4400 604\ *) FLAGS='-mcpu=604' ;; # Mac 8500 604ev\ *) FLAGS='-mcpu=604e' ;; # upgr B&W G3 7450\ *) FLAGS='-mcpu=740' ;; # tibook 550 @@ -176,6 +179,7 @@ if [ -n "$FLAGS" ]; then 3.0 -march=athlon-4 -march=pentiumpro 3.0 -march=athlon-mp -march=pentiumpro 3.0 -march=athlon-xp -march=pentiumpro +3.1 -mcpu=21264a -mcpu=21264 3.2 -march=k6-2 -march=k6 3.2 -march=k6-3 -march=k6 3.2 -march=pentium2 -march=pentiumpro |