diff options
author | abs <abs> | 2002-09-25 15:14:04 +0000 |
---|---|---|
committer | abs <abs> | 2002-09-25 15:14:04 +0000 |
commit | 94e2733bf17dc26e4abef9c83c314e6aae0de032 (patch) | |
tree | 0ce6ae5f8e67878982024f8285147cd755f256c4 /devel/cpuflags | |
parent | 13b72a9e5a9818c0e11e2692a082c5e8ac1caae1 (diff) | |
download | pkgsrc-94e2733bf17dc26e4abef9c83c314e6aae0de032.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')
-rw-r--r-- | devel/cpuflags/Makefile | 4 | ||||
-rwxr-xr-x | devel/cpuflags/files/cpuflags.NetBSD | 22 |
2 files changed, 23 insertions, 3 deletions
diff --git a/devel/cpuflags/Makefile b/devel/cpuflags/Makefile index 4142c80b2d0..851b5b9e155 100644 --- a/devel/cpuflags/Makefile +++ b/devel/cpuflags/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.33 2002/09/16 10:43:24 abs Exp $ +# $NetBSD: Makefile,v 1.34 2002/09/25 15:14:04 abs Exp $ # -DISTNAME= cpuflags-0.33 +DISTNAME= cpuflags-0.34 CATEGORIES= sysutils MASTER_SITES= # empty DISTFILES= # empty 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 |