diff options
author | abs <abs@pkgsrc.org> | 2002-01-28 08:26:08 +0000 |
---|---|---|
committer | abs <abs@pkgsrc.org> | 2002-01-28 08:26:08 +0000 |
commit | 10fb819900d0dca1f9c26ca5c5a77115e8060fe2 (patch) | |
tree | aeee231d005825f254d08508222bc4edb90817a0 /devel | |
parent | 81a8bc29d40091873e0ce55d7ecef34da2801ec3 (diff) | |
download | pkgsrc-10fb819900d0dca1f9c26ca5c5a77115e8060fe2.tar.gz |
Update cpuflags to 0.18 - recognise sparc classic, from Reinoud
Diffstat (limited to 'devel')
-rw-r--r-- | devel/cpuflags/Makefile | 4 | ||||
-rwxr-xr-x | devel/cpuflags/files/cpuflags.NetBSD | 7 |
2 files changed, 6 insertions, 5 deletions
diff --git a/devel/cpuflags/Makefile b/devel/cpuflags/Makefile index 9768d2bab9d..28daa765f55 100644 --- a/devel/cpuflags/Makefile +++ b/devel/cpuflags/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.17 2002/01/03 11:54:47 abs Exp $ +# $NetBSD: Makefile,v 1.18 2002/01/28 08:26:08 abs Exp $ # -DISTNAME= cpuflags-0.17 +DISTNAME= cpuflags-0.18 CATEGORIES= sysutils MASTER_SITES= # empty DISTFILES= # empty diff --git a/devel/cpuflags/files/cpuflags.NetBSD b/devel/cpuflags/files/cpuflags.NetBSD index df7f4b0f7e3..d3c543a50e8 100755 --- a/devel/cpuflags/files/cpuflags.NetBSD +++ b/devel/cpuflags/files/cpuflags.NetBSD @@ -1,5 +1,5 @@ #!/bin/sh -# $NetBSD: cpuflags.NetBSD,v 1.16 2002/01/01 17:01:26 abs Exp $ +# $NetBSD: cpuflags.NetBSD,v 1.17 2002/01/28 08:26:08 abs Exp $ if [ -x /sbin/sysctl ] ;then SYSCTL=/sbin/sysctl @@ -27,6 +27,7 @@ case $hw_model in # sparc MB86904* | MB86907*) FLAGS="-mcpu=supersparc" ;; # ss5 TMS390Z50*) FLAGS="-mcpu=supersparc" ;; # ss10/ss20 + TMS390S10*) FLAGS="-mcpu=supersparc" ;; # classic MB86930* | MB86934*) FLAGS="-mcpu=sparclite" ;; # from gcc MB86900/1A*) FLAGS="-mcpu=cypress" ;; # ss1+ CY7C601*) FLAGS="-mcpu=cypress" ;; # ss2 @@ -47,8 +48,8 @@ case $hw_model in # The memorybus in strongarm risc pc machines cannot support # certain strongarm instructions, but in 1.5 and earlier all # strongarm machines are 'arm32', so uname and sysctl no use - if egrep -q ofbus0|footbridge0 /var/run/dmesg.boot 2>/dev/null \ - ; then + if egrep -q 'ofbus0|footbridge0' /var/run/dmesg.boot \ + 2>/dev/null ; then FLAGS="-mcpu=strongarm110" # dnard/cats else FLAGS="-march=armv3m -mtune=strongarm" # risc pc |