diff options
author | lloyd <[email protected]> | 2008-09-28 16:23:05 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2008-09-28 16:23:05 +0000 |
commit | 37b6c37e361c224d37234b549d49f0a601c4fed4 (patch) | |
tree | 2a49359ad683b53b67a059de2bffa433313aa7f3 | |
parent | 7d70dc5a507cc2d12afe649cadc50340739944c2 (diff) |
Add support for Pentium-M autodetection and GCC builds. Bug report by
Derek Scherger
-rwxr-xr-x | configure.pl | 4 | ||||
-rw-r--r-- | misc/config/arch/ia32 | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/configure.pl b/configure.pl index 4dc01b108..88ef3d986 100755 --- a/configure.pl +++ b/configure.pl @@ -1805,7 +1805,9 @@ sub guess_cpu_from_this $cpu = 'athlon' if($cpuinfo =~ /athlon/); $cpu = 'pentium4' if($cpuinfo =~ /pentium 4/); + $cpu = 'pentium4' if($cpuinfo =~ /pentium 4/); $cpu = 'pentium4' if($cpuinfo =~ /pentium\(r\) 4/); + $cpu = 'pentium-m' if($cpuinfo =~ /pentium\(r\) m/); $cpu = 'pentium3' if($cpuinfo =~ /pentium iii/); $cpu = 'pentium2' if($cpuinfo =~ /pentium ii/); $cpu = 'pentium3' if($cpuinfo =~ /pentium 3/); @@ -1912,7 +1914,7 @@ sub guess_cpu { # If we have /proc/cpuinfo, try to get nice specific information about # what kind of CPU we're running on. - my $cpuinfo = '/proc/cpuinfo'; + my $cpuinfo = '/home/lloyd/cpuinfo'; if(-e $cpuinfo and -r $cpuinfo) { diff --git a/misc/config/arch/ia32 b/misc/config/arch/ia32 index 355d70b41..5976c5c78 100644 --- a/misc/config/arch/ia32 +++ b/misc/config/arch/ia32 @@ -18,6 +18,7 @@ i486 i586 i686 pentium4 +pentium-m k6 athlon </submodels> |