From 195d690bb11d92476dbb37993d4c1131e1d5d11a Mon Sep 17 00:00:00 2001 From: abs Date: Thu, 23 Sep 2004 11:41:10 +0000 Subject: Update cpuflags to 0.76: Add 'Intel(R) Pentium(R) M processor' under Linux, plus make each version report the OS in the event of an unrecognised CPU. --- devel/cpuflags/Makefile | 4 ++-- devel/cpuflags/files/cpuflags.Linux | 4 +++- devel/cpuflags/files/cpuflags.NetBSD | 3 ++- devel/cpuflags/files/cpuflags.SunOS | 3 ++- 4 files changed, 9 insertions(+), 5 deletions(-) (limited to 'devel') diff --git a/devel/cpuflags/Makefile b/devel/cpuflags/Makefile index 37f72ed82ee..540bd265641 100644 --- a/devel/cpuflags/Makefile +++ b/devel/cpuflags/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.78 2004/08/04 11:39:43 abs Exp $ +# $NetBSD: Makefile,v 1.79 2004/09/23 11:41:10 abs Exp $ # -DISTNAME= cpuflags-0.75 +DISTNAME= cpuflags-0.76 CATEGORIES= sysutils MASTER_SITES= # empty DISTFILES= # empty diff --git a/devel/cpuflags/files/cpuflags.Linux b/devel/cpuflags/files/cpuflags.Linux index c6921375042..e214e985b17 100755 --- a/devel/cpuflags/files/cpuflags.Linux +++ b/devel/cpuflags/files/cpuflags.Linux @@ -1,5 +1,5 @@ #!/bin/sh -# $NetBSD: cpuflags.Linux,v 1.8 2004/08/04 11:39:44 abs Exp $ +# $NetBSD: cpuflags.Linux,v 1.9 2004/09/23 11:41:10 abs Exp $ PATH=/sbin:/usr/sbin:/bin:/usr/bin:$PATH if [ "$1" = -v ] ; then @@ -14,6 +14,7 @@ fi display_hw_details() { + echo " OS : '$(uname)'" echo " proc model : '$hw_model'" echo " machine_arch : '$hw_machine_arch'" echo " proc flags : '$hw_flags'" @@ -37,6 +38,7 @@ case $hw_machine_arch in "AMD Duron(TM)") FLAGS='-march=athlon' ;; "AMD Athlon(tm) XP "*) FLAGS='-march=athlon-xp' ;; "Celeron (Coppermine)") FLAGS='-march=pentium3' ;; + "Intel(R) Pentium(R) M processor"*) FLAGS='-march=pentium3m' ;; "Intel(R) Celeron(R) CPU "*) case "$hw_flags" in *" sse2 "*) diff --git a/devel/cpuflags/files/cpuflags.NetBSD b/devel/cpuflags/files/cpuflags.NetBSD index c91fde34a80..ba0450fd4af 100755 --- a/devel/cpuflags/files/cpuflags.NetBSD +++ b/devel/cpuflags/files/cpuflags.NetBSD @@ -1,5 +1,5 @@ #!/bin/sh -# $NetBSD: cpuflags.NetBSD,v 1.54 2004/08/04 11:39:44 abs Exp $ +# $NetBSD: cpuflags.NetBSD,v 1.55 2004/09/23 11:41:10 abs Exp $ PATH=/sbin:/usr/sbin:/bin:/usr/bin:$PATH if [ "$1" = -v ] ; then @@ -14,6 +14,7 @@ fi display_hw_details() { + echo " OS : '$(uname)'" echo " hw.model : '$hw_model'" echo " hw.machine : '$hw_machine'" echo " hw.machine_arch : '$hw_machine_arch'" diff --git a/devel/cpuflags/files/cpuflags.SunOS b/devel/cpuflags/files/cpuflags.SunOS index 7719523eb3c..53d8bd1ccc0 100755 --- a/devel/cpuflags/files/cpuflags.SunOS +++ b/devel/cpuflags/files/cpuflags.SunOS @@ -1,5 +1,5 @@ #!/bin/sh -# $NetBSD: cpuflags.SunOS,v 1.3 2004/08/04 11:39:44 abs Exp $ +# $NetBSD: cpuflags.SunOS,v 1.4 2004/09/23 11:41:10 abs Exp $ PATH=/sbin:/usr/sbin:/bin:/usr/bin:$PATH if [ "$1" = -v ] ; then @@ -14,6 +14,7 @@ fi display_hw_details() { + echo " OS : '`uname`'" echo " arch : '$hw_arch'" } -- cgit v1.2.3