diff options
author | abs <abs@pkgsrc.org> | 2002-09-25 15:14:04 +0000 |
---|---|---|
committer | abs <abs@pkgsrc.org> | 2002-09-25 15:14:04 +0000 |
commit | 1b7356de8836d4699eaf112a68a78514cafd89ed (patch) | |
tree | 0ce6ae5f8e67878982024f8285147cd755f256c4 /devel/cpuflags/files | |
parent | b215bfd7bf68ceff731fabf2aa6079700616b6f5 (diff) | |
download | pkgsrc-1b7356de8836d4699eaf112a68a78514cafd89ed.tar.gz |
Update cpuflags to 0.34, the "How big is agc's mail quota" release:
Add in a reasonable set of mips cpus.
Diffstat (limited to 'devel/cpuflags/files')
-rwxr-xr-x | devel/cpuflags/files/cpuflags.NetBSD | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/devel/cpuflags/files/cpuflags.NetBSD b/devel/cpuflags/files/cpuflags.NetBSD index 2d2c8c6a44c..40e55586d04 100755 --- a/devel/cpuflags/files/cpuflags.NetBSD +++ b/devel/cpuflags/files/cpuflags.NetBSD @@ -1,5 +1,5 @@ #!/bin/sh -# $NetBSD: cpuflags.NetBSD,v 1.27 2002/09/16 10:43:24 abs Exp $ +# $NetBSD: cpuflags.NetBSD,v 1.28 2002/09/25 15:14:04 abs Exp $ if [ -x /sbin/sysctl ] ;then SYSCTL=/sbin/sysctl @@ -66,6 +66,26 @@ case $hw_machine_arch in *\(68060*) FLAGS='-m68060' ;; # Upgr amiga 3000 esac ;; + mipseb|mipsel) + # cpu0 at mainbus0: QED R4600 Orion CPU (0x2020) Rev. 2.0 with ... + case "`egrep '^cpu0 ' /var/run/dmesg.boot`" in + *\ MIPS\ R2000\ *) FLAGS="-mcpu=r2000" ;; + *\ MIPS\ R3000\ *) FLAGS="-mcpu=r3000" ;; + *\ MIPS\ R3000A\ *) FLAGS="-mcpu=r3000" ;; + *\ Toshiba\ TX3912\ *) FLAGS="-mcpu=r3900" ;; + *\ Toshiba\ TX392[27]\ *) FLAGS="-mcpu=r3900" ;; + *\ MIPS\ R4000\ *) FLAGS="-mcpu=r4000 -mips2" ;; # really mips3 + *\ MIPS\ R4400\ *) FLAGS="-mcpu=r4400 -mips2" ;; # really mips3 + *\ NEC\ VR4100\ *) FLAGS="-mcpu=r4100 -mips2" ;; # really mips3 + *\ NEC\ VR4300\ *) FLAGS="-mcpu=r4300 -mips2" ;; # really mips3 + *\ QED\ R4600\ *) FLAGS="-mcpu=r4600 -mips2" ;; # really mips3 + *\ MIPS\ R5000\ *) FLAGS="-mcpu=r5000 -mips2" ;; # really mips4 + *\ QED\ RM5200\ *) FLAGS="-mcpu=r5000 -mips2" ;; # really mips4 + *\ MIPS\ R6000\ *) FLAGS="-mcpu=r6000 -mips2" ;; + *\ MIPS\ R8000\ *) FLAGS="-mcpu=r8000 -mips2" ;; # really mips4 + esac + ;; + powerpc) case $hw_model in # Examples 601\ *) FLAGS='-mcpu=601' ;; # Untested 602\ *) FLAGS='-mcpu=602' ;; # Untested |