File: site.tmpl

package info (click to toggle)
dejagnu 1.4.4.git20080407-1.1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 3,840 kB
  • ctags: 137
  • sloc: exp: 10,626; xml: 7,106; sh: 4,400; ansic: 546; makefile: 402; cpp: 92; tcl: 72
file content (42 lines) | stat: -rw-r--r-- 1,236 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# site.tmpl -- Sample template for a global config file. -*- Tcl -*-
# Written by Bob Manson <manson@cygnus.com>
#
# NOTE: This file contains mostly site specific configuration data
# that is custom to Cygnus Support. You'll have to change most of the
# values to work at your site.

# transform -- transform a tool name to get the installed name. We
# only define this if there wasn't one. This was the global config
# file can override how the tool names are calculated.

# Uncomment this if you wish to redefine the transform procedure.
#
# if ![string match "transform" [info procs transform]] then {
#     proc transform {name} {
# 	global target_triplet
# 	if [string match "" $target_triplet] then {
# 	    return $name
# 	} else {
# 	    return ${target_triplet}-$name
# 	}
#     }
# }

# Set a default target list for various target triplets.

case "$target_triplet" in {
    { "hppa*-*-proelf*" } {
	set target_list { winbond }
    }
    { "i386-*-aout" } {
	set target_list { i386-aout }
    }
    { "m68k-mvme135-*" } {
	# Motorola MVME135 board running Bug monitor
	set target_list  { "mvme135-bug" }
    }
    { "m68k-idp-*" "m68k-rom68k-*" } {
	# Motorola IDP board running rom68k monitor
	set target_list "bozo"
    }
}