summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorabs <abs>2001-06-07 11:56:46 +0000
committerabs <abs>2001-06-07 11:56:46 +0000
commit8a95abfedc726c20608067ba029487caa01a5d76 (patch)
tree4e7253291c0480694623e0d985213adae47cc176
parent712dc4f15e7fb9dcc4e9fd9a18d81861d0e38373 (diff)
downloadpkgsrc-8a95abfedc726c20608067ba029487caa01a5d76.tar.gz
Update cpuflags to 0.2 - handle arm6, arm7 & strongarm in riscpc and dnard
-rw-r--r--devel/cpuflags/Makefile4
-rw-r--r--devel/cpuflags/files/cpuflags.12
-rwxr-xr-xdevel/cpuflags/files/cpuflags.Linux2
-rwxr-xr-xdevel/cpuflags/files/cpuflags.NetBSD12
4 files changed, 12 insertions, 8 deletions
diff --git a/devel/cpuflags/Makefile b/devel/cpuflags/Makefile
index 61eaa057a7e..88fa7e1d63e 100644
--- a/devel/cpuflags/Makefile
+++ b/devel/cpuflags/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.1.1.1 2001/06/07 09:59:28 abs Exp $
+# $NetBSD: Makefile,v 1.2 2001/06/07 11:56:46 abs Exp $
#
-DISTNAME= cpuflags-0.1
+DISTNAME= cpuflags-0.2
CATEGORIES= sysutils
MASTER_SITES= # empty
DISTFILES= # empty
diff --git a/devel/cpuflags/files/cpuflags.1 b/devel/cpuflags/files/cpuflags.1
index ea9a509f106..c67960d0831 100644
--- a/devel/cpuflags/files/cpuflags.1
+++ b/devel/cpuflags/files/cpuflags.1
@@ -1,4 +1,4 @@
-.\" $NetBSD: cpuflags.1,v 1.1.1.1 2001/06/07 09:59:28 abs Exp $
+.\" $NetBSD: cpuflags.1,v 1.2 2001/06/07 11:56:46 abs Exp $
.Dd May 31, 2001
.Dt CPUFLAGS 1
diff --git a/devel/cpuflags/files/cpuflags.Linux b/devel/cpuflags/files/cpuflags.Linux
index dad3176fbc2..9226f7eafbd 100755
--- a/devel/cpuflags/files/cpuflags.Linux
+++ b/devel/cpuflags/files/cpuflags.Linux
@@ -1,5 +1,5 @@
#!/bin/sh
-# $NetBSD: cpuflags.Linux,v 1.1.1.1 2001/06/07 09:59:28 abs Exp $
+# $NetBSD: cpuflags.Linux,v 1.2 2001/06/07 11:56:46 abs Exp $
hw_model=`uname -m`
diff --git a/devel/cpuflags/files/cpuflags.NetBSD b/devel/cpuflags/files/cpuflags.NetBSD
index 9f8157395f5..8b3da8d9eb8 100755
--- a/devel/cpuflags/files/cpuflags.NetBSD
+++ b/devel/cpuflags/files/cpuflags.NetBSD
@@ -1,5 +1,5 @@
#!/bin/sh
-# $NetBSD: cpuflags.NetBSD,v 1.1.1.1 2001/06/07 09:59:28 abs Exp $
+# $NetBSD: cpuflags.NetBSD,v 1.2 2001/06/07 11:56:46 abs Exp $
gcc_ver=`gcc -v 2>&1 | awk '/gcc version/ {print $3}'`
hw_model=`sysctl -n hw.model`
@@ -45,9 +45,13 @@ else # Modern gcc
MB86930* | MB86934*) FLAGS="-mcpu=sparclite" ;; # from gcc
MB86900/1A*) FLAGS="-mcpu=cypress" ;; # ss1+
#
- # arm - commented until issue with identifying SA based RiscPCs solved
- # SA-110*) FLAGS="-mcpu=strongarm110" ;; # shark
- SA-110*) FLAGS="" ;;
+ # arm32
+ ARM610*) FLAGS="-mcpu=arm610" ;; # risc pc
+ ARM710*) FLAGS="-mcpu=arm710" ;; # risc pc
+ "SA-110 rev 3 (SA-1 core) DC enabled IC enabled WB enabled EABT")
+ FLAGS="-march=armv3m -mtune=strongarm" ;; # risc pc
+ "SA-110 rev 3 DC enabled IC enabled WB enabled EABT")
+ FLAGS="-mcpu=strongarm110" ;; # shark
#
*) echo "Unknown hw.model '$hw_model'" >&2
esac