diff options
author | abs <abs@pkgsrc.org> | 2008-12-31 14:49:54 +0000 |
---|---|---|
committer | abs <abs@pkgsrc.org> | 2008-12-31 14:49:54 +0000 |
commit | 52777ba67abc5bdf2d063eee7eaada6bcbc20029 (patch) | |
tree | 306e53e8b13f25735d2deeef047f9a6c4ebe493b /devel/cpuflags | |
parent | e8e5e5ea419f0dba220fb0f4edd88c3e8d9027a4 (diff) | |
download | pkgsrc-52777ba67abc5bdf2d063eee7eaada6bcbc20029.tar.gz |
Updated devel/cpuflags to 1.30
Add:
"Intel(R) Pentium(R) M processor "*
Diffstat (limited to 'devel/cpuflags')
-rw-r--r-- | devel/cpuflags/Makefile | 4 | ||||
-rwxr-xr-x | devel/cpuflags/files/cpuflags.sh | 6 | ||||
-rw-r--r-- | devel/cpuflags/files/subr_x86 | 4 |
3 files changed, 8 insertions, 6 deletions
diff --git a/devel/cpuflags/Makefile b/devel/cpuflags/Makefile index 287498e6ba8..4911c2b28a9 100644 --- a/devel/cpuflags/Makefile +++ b/devel/cpuflags/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.135 2008/12/23 09:48:38 abs Exp $ +# $NetBSD: Makefile,v 1.136 2008/12/31 14:49:54 abs Exp $ -DISTNAME= cpuflags-1.29 +DISTNAME= cpuflags-1.30 CATEGORIES= devel sysutils MASTER_SITES= # empty DISTFILES= # empty diff --git a/devel/cpuflags/files/cpuflags.sh b/devel/cpuflags/files/cpuflags.sh index 18f18b734f8..079f707f873 100755 --- a/devel/cpuflags/files/cpuflags.sh +++ b/devel/cpuflags/files/cpuflags.sh @@ -1,5 +1,5 @@ #!/bin/sh -# $NetBSD: cpuflags.sh,v 1.3 2007/08/27 10:09:22 abs Exp $ +# $NetBSD: cpuflags.sh,v 1.4 2008/12/31 14:49:54 abs Exp $ PATH=/sbin:/usr/sbin:/bin:/usr/bin:$PATH include() @@ -89,8 +89,8 @@ END fi if [ -z "$ARCH" -a -z "$NOARCH" ] ; then - echo 'Unknown machine - please send details to abs@absd.org' >&2 - display_hw_details >&2 + echo 'Unknown machine - please send cpuflags details to abs@absd.org' >&2 + display_hw_details >&2 fi echo $CPUFLAGS diff --git a/devel/cpuflags/files/subr_x86 b/devel/cpuflags/files/subr_x86 index 77f01a58015..6bd49519222 100644 --- a/devel/cpuflags/files/subr_x86 +++ b/devel/cpuflags/files/subr_x86 @@ -1,4 +1,4 @@ -# $NetBSD: subr_x86,v 1.7 2008/12/23 09:48:38 abs Exp $ +# $NetBSD: subr_x86,v 1.8 2008/12/31 14:49:54 abs Exp $ # Apparently the only way to reliably determine the architecture of a recent # Intel CPU is to use the cpu brand string - as they reused family and @@ -16,6 +16,7 @@ map_x86_brand_string() case "$1" in "AMD-K6(tm)-III Processor"*) echo '-march=k6-3' ;; "VIA Nehemiah"*) echo '-march=c3' ;; + "Genuine Intel(R) CPU T2400"*) echo '-march=core2' ;; "Intel(R) Atom(TM) CPU N270 "*) echo '-march=prescott' ;;#So far "Intel(R) Celeron(R) CPU E1400"*) echo '-march=core2' ;; @@ -30,6 +31,7 @@ map_x86_brand_string() "Intel(R) Pentium(R) 4 CPU 3.00GHz") echo '-march=prescott' ;; "Intel(R) Pentium(R) 4 CPU 3.20GHz") echo '-march=prescott' ;; "Intel(R) Pentium(R) D CPU "*) echo '-march=prescott' ;; + "Intel(R) Pentium(R) M processor "*) echo '-march=pentium-m' ;; "Intel(R) Xeon(R) CPU 3040"*) echo '-march=core2' ;; "Intel(R) Xeon(R) CPU 3050"*) echo '-march=core2' ;; "Pentium(R) Dual-Core CPU E5200"*) echo '-march=core2' ;; |