summaryrefslogtreecommitdiff
path: root/devel/cpuflags
diff options
context:
space:
mode:
authorabs <abs>2002-01-28 08:26:08 +0000
committerabs <abs>2002-01-28 08:26:08 +0000
commit097039e3b763e8694465fb2ed422a33670277dd2 (patch)
treeaeee231d005825f254d08508222bc4edb90817a0 /devel/cpuflags
parentb1682d0e9283b91fcff795bee494314a214f9a89 (diff)
downloadpkgsrc-097039e3b763e8694465fb2ed422a33670277dd2.tar.gz
Update cpuflags to 0.18 - recognise sparc classic, from Reinoud
Diffstat (limited to 'devel/cpuflags')
-rw-r--r--devel/cpuflags/Makefile4
-rwxr-xr-xdevel/cpuflags/files/cpuflags.NetBSD7
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