ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/truck/Common/cpu.sh
Revision: 22
Committed: 2008-02-08T06:19:12-08:00 (14 years, 3 months ago) by douglas
Content type: text/x-sh
File size: 449 byte(s)
Log Message:
Build system improvements and new projects...

File Contents

# Content
1 #!/usr/local/bin/bash
2 # Truck Computer Dooom!
3 #
4 # Douglas Thrift
5 #
6 # $Id$
7
8 function march
9 {
10 echo "-march=$1"
11 }
12
13 case `guname -i` in
14 (Pentium\ III*)
15 march pentium3
16 ;;
17 (Intel\(R\)\ Xeon\(TM\)\ CPU*)
18 march pentium4
19 ;;
20 (AMD\ Athlon\(tm\)\ XP)
21 march athlon-xp
22 ;;
23 (AMD\ Athlon\(tm\)\ 64*)
24 march athlon64
25 ;;
26 (AMD-K6\(tm\)\ 3D\ processor)
27 march k6-2
28 ;;
29 (Geode\(TM\)\ Integrated\ Processor*)
30 march pentium-mmx
31 ;;
32 (VIA\ C7*)
33 march c3-2
34 ;;
35 esac

Properties

Name Value
svn:executable *
svn:keywords Id