blob: 1532d3685b7e8cb6806f21e767c5f254962f064e (
plain)
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
|
# This file is a shell script that supplies the information necessary
# to tailor a template configure script into the configure script
# appropriate for this directory. For more information, check any
# existing configure script.
srctrigger=as.c
srcname="gas"
targetdependent=true
# per-host:
# per-target:
# assign cpu type
emulation=generic
case ${target} in
sun4* | sparc*)
cpu_type=sparc
;;
sun3*)
cpu_type=m68k
;;
i386*)
cpu_type=i386
;;
i960*)
cpu_type=i960
emulation=ic960
;;
a29k*)
cpu_type=a29k
;;
m68k*)
cpu_type=m68k
;;
*)
cpu_type=generic
;;
esac
# assign object format
case ${target} in
*-coff)
obj_format=coff
;;
*-bout)
obj_format=bout
;;
generic)
obj_format=generic
;;
*)
obj_format=aout
;;
esac
# assign floating point type
case ${target} in
vax)
atof=vax
;;
*)
atof=ieee
;;
esac
files="config/ho-${host}.h config/tc-${cpu_type}.c \
config/tc-${cpu_type}.h config/te-${emulation}.h \
config/obj-${obj_format}.h config/obj-${obj_format}.c \
config/atof-${atof}.c"
links="host.h targ-cpu.c targ-cpu.h targ-env.h obj-format.h obj-format.c atof-targ.c"
|