* gprof.h (kfromlist, ktolist, flist, Flist, elist, Elist): Make
[deliverable/binutils-gdb.git] / gdb / configure.in
CommitLineData
6ec7e4d3
SS
1# This file is a shell script fragment that supplies the information
2# necessary to tailor a template configure script into the configure
3# script appropriate for this directory. For more information, check
4# any existing configure script.
5
912e0732
RP
6srcname="GDB"
7srctrigger=main.c
bc028766 8
6ec7e4d3
SS
9configdirs="doc testsuite"
10
0df06ca0
RP
11# per-host:
12
1a0edbc7
FF
13# Map host cpu into the config cpu subdirectory name.
14# The default is $host_cpu.
15
16case "${host_cpu}" in
17
18c[12]) gdb_host_cpu=convex ;;
19hppa*) gdb_host_cpu=pa ;;
7382b3b1 20i[345]86) gdb_host_cpu=i386 ;;
1a0edbc7 21m68*) gdb_host_cpu=m68k ;;
6ec7e4d3 22m88*) gdb_host_cpu=m88k ;;
1a0edbc7
FF
23np1) gdb_host_cpu=gould ;;
24pyramid) gdb_host_cpu=pyr ;;
25*) gdb_host_cpu=$host_cpu ;;
26
27esac
28
6c815bbe
RP
29# map host info into gdb names.
30
19758e9e 31case "${host}" in
6c815bbe 32
19758e9e
JG
33a29k-*-*) gdb_host=ultra3 ;;
34
7ccb1e44
SC
35alpha-*-osf*) gdb_host=alpha-osf1 ;;
36
19758e9e
JG
37arm-*-*) gdb_host=arm ;;
38
39c[12]-*-*) gdb_host=convex ;;
40
e8e13040 41hppa*-*-bsd*) gdb_host=hppabsd ;;
e8e13040 42hppa*-*-hiux*) gdb_host=hppahpux ;;
6ec7e4d3 43hppa*-*-hpux*) gdb_host=hppahpux ;;
6bfd168c 44hppa*-*-osf*) gdb_host=hppabsd ;;
19758e9e 45
7382b3b1
ILT
46i[345]86-ncr-*) gdb_host=ncr3000 ;;
47i[345]86-sequent-bsd*) gdb_host=symmetry ;; # dynix
48i[345]86-sequent-sysv4*) gdb_host=ptx4 ;;
49i[345]86-sequent-sysv*) gdb_host=ptx ;;
50i[345]86-*-aix*) gdb_host=i386aix ;;
51i[345]86-*-bsd*) gdb_host=i386bsd ;;
52i[345]86-*-netbsd*) gdb_host=i386bsd ;;
53i[345]86-*-go32*) gdb_host=go32 ;;
54i[345]86-*-linux*) gdb_host=linux ;;
55i[345]86-*-lynxos*) gdb_host=i386lynx ;;
56i[345]86-*-mach3*) gdb_host=i386m3 ;;
57i[345]86-*-mach*) gdb_host=i386mach ;;
58i[345]86-*-osf1mk*) gdb_host=osf1mk ;;
59i[345]86-*-sco3.2v4*) gdb_host=i386sco4 ;;
60i[345]86-*-sco*) gdb_host=i386sco ;;
61i[345]86-*-solaris*) gdb_host=i386sol2 ;;
62i[345]86-*-sunos*) gdb_host=sun386 ;;
63i[345]86-*-sysv3.2*) gdb_host=i386v32 ;;
64i[345]86-*-sysv32*) gdb_host=i386v32 ;;
65i[345]86-*-sysv4*) gdb_host=i386v4 ;;
66i[345]86-*-unixware) gdb_host=i386v4 ;;
67i[345]86-*-sysv*) gdb_host=i386v ;;
68i[345]86-*-isc*) gdb_host=i386v32 ;;
69i[345]86-*-os9k) gdb_host=i386os9k ;;
19758e9e 70
358ca35e
JG
71m680[01]0-sun-sunos3*) gdb_host=sun2os3 ;;
72m680[01]0-sun-sunos4*) gdb_host=sun2os4 ;;
ef131e13 73m68030-sony-*) gdb_host=news1000 ;;
19758e9e 74
358ca35e
JG
75m68*-altos-*) gdb_host=altos ;;
76m68*-apollo*-sysv*) gdb_host=apollo68v ;;
77m68*-apollo*-bsd*) gdb_host=apollo68b ;;
78m68*-att-*) gdb_host=3b1 ;;
0a8f1742 79m68*-bull*-sysv*) gdb_host=dpx2 ;;
8f59e92b
FF
80m68*-hp-bsd*) gdb_host=hp300bsd ;;
81m68*-hp-hpux*) gdb_host=hp300hpux ;;
358ca35e 82m68*-isi-*) gdb_host=isi ;;
9bebe500 83m68*-*-lynxos*) gdb_host=m68klynx ;;
670a8e09 84m68*-*-sysv4*) gdb_host=m68kv4 ;;
c649a7c2 85m68*-motorola-*) gdb_host=delta68 ;;
358ca35e
JG
86m68*-sony-*) gdb_host=news ;;
87m68*-sun-sunos3*) gdb_host=sun3os3 ;;
88m68*-sun-sunos4*) gdb_host=sun3os4 ;;
89m68*-sun-*) gdb_host=sun3os4 ;;
19758e9e 90
670a8e09 91m88*-harris-cxux*) gdb_host=cxux ;;
304977ab
JK
92m88*-motorola-sysv4*) gdb_host=delta88v4 ;;
93m88*-motorola-sysv*) gdb_host=delta88 ;;
6ec7e4d3 94m88*-*-mach3*) gdb_host=mach3 ;;
304977ab 95m88*-*-*) gdb_host=m88k ;;
19758e9e 96
6ec7e4d3 97mips-dec-mach3*) gdb_host=mach3 ;;
19758e9e
JG
98mips-dec-*) gdb_host=decstation ;;
99mips-little-*) gdb_host=littlemips ;;
3b891e0b 100mips-sgi-irix3*) gdb_host=irix3 ;;
81029114 101mips-sgi-irix4*) gdb_host=irix4 ;;
e03c0cc6 102mips-sgi-irix5*) gdb_host=irix5 ;;
b487ba2e 103mips-sony-*) gdb_host=news-mips ;;
6ec7e4d3 104mips-*-mach3*) gdb_host=mach3 ;;
2fe3b329 105mips-*-sysv4*) gdb_host=mipsv4 ;;
ee06f230 106mips-*-sysv*) gdb_host=riscos ;;
e8f8e093 107mips-*-riscos*) gdb_host=riscos ;;
19758e9e
JG
108
109none-*-*) gdb_host=none ;;
ef131e13 110
19758e9e
JG
111np1-*-*) gdb_host=np1 ;;
112
6ec7e4d3 113ns32k-*-mach3*) gdb_host=mach3 ;;
19758e9e 114ns32k-umax-*) gdb_host=umax ;;
3b891e0b 115ns32k-utek-sysv*) gdb_host=merlin ;;
19758e9e 116
19758e9e
JG
117pn-*-*) gdb_host=pn ;;
118
119pyramid-*-*) gdb_host=pyramid ;;
120
121romp-*-*) gdb_host=rtbsd ;;
122
d87d7b10 123rs6000-*-lynxos*) gdb_host=rs6000lynx ;;
19758e9e
JG
124rs6000-*-*) gdb_host=rs6000 ;;
125
9bebe500 126sparc-*-lynxos*) gdb_host=sparclynx ;;
74d319e0 127sparc-*-netbsd*) gdb_host=sparcnbsd ;;
ef131e13 128sparc-*-solaris2*) gdb_host=sun4sol2 ;;
ebb3a1e5 129sparc-*-sunos4*) gdb_host=sun4os4 ;;
b52373a2 130sparc-*-*) gdb_host=sun4os4 ;;
19758e9e
JG
131
132tahoe-*-*) gdb_host=tahoe ;;
133
134vax-*-bsd*) gdb_host=vaxbsd ;;
6985bc54 135vax-*-ultrix2*) gdb_host=vaxult2 ;;
19758e9e 136vax-*-ultrix*) gdb_host=vaxult ;;
7da1e27d 137
6c815bbe
RP
138esac
139
8c7ae4a2 140
1a0edbc7 141if [ ! -f ${srcdir}/config/${gdb_host_cpu}/${gdb_host}.mh ]; then
6c815bbe 142 echo '***' "Gdb does not support host ${host}" 1>&2
912e0732
RP
143 exit 1
144fi
145
bdf3621b 146# We really shouldn't depend on there being a space after XM_FILE= ...
1a0edbc7 147hostfile=`awk '$1 == "XM_FILE=" { print $2 }' <${srcdir}/config/${gdb_host_cpu}/${gdb_host}.mh`
912e0732 148
0df06ca0 149# per-target:
912e0732 150
1a0edbc7
FF
151# Map target cpu into the config cpu subdirectory name.
152# The default is $target_cpu.
153
154case "${target_cpu}" in
155
cef4c2e7 156alpha) gdb_target_cpu=alpha ;;
1a0edbc7
FF
157c[12]) gdb_target_cpu=convex ;;
158hppa*) gdb_target_cpu=pa ;;
7382b3b1 159i[345]86) gdb_target_cpu=i386 ;;
1a0edbc7 160m68*) gdb_target_cpu=m68k ;;
6ec7e4d3 161m88*) gdb_target_cpu=m88k ;;
b60f6584 162mips*) gdb_target_cpu=mips ;;
1a0edbc7
FF
163np1) gdb_target_cpu=gould ;;
164pn) gdb_target_cpu=gould ;;
165pyramid) gdb_target_cpu=pyr ;;
2c30f258 166sparclite*) gdb_target_cpu=sparc
6ec7e4d3 167 configdirs="${configdirs} sparclite" ;;
0c101d49 168sparc*) gdb_target_cpu=sparc ;;
1a0edbc7
FF
169*) gdb_target_cpu=$target_cpu ;;
170
171esac
172
173# map target info into gdb names.
174
ef131e13
JG
175case "${target}" in
176
3b891e0b
JK
177a29k-*-aout*) gdb_target=a29k ;;
178a29k-*-coff*) gdb_target=a29k ;;
179a29k-*-elf*) gdb_target=a29k ;;
180a29k-*-ebmon*) gdb_target=a29k ;;
181a29k-*-kern*) gdb_target=a29k-kern ;;
182a29k-*-none*) gdb_target=a29k ;;
183a29k-*-sym1*) gdb_target=ultra3 ;;
184a29k-*-udi*) gdb_target=a29k-udi ;;
ef131e13 185
cef4c2e7 186alpha-*-osf*) gdb_target=alpha-osf1 ;;
2e6784a8 187alpha-*-netware*) gdb_target=alpha-nw
6ec7e4d3
SS
188 configdirs="${configdirs} nlm" ;;
189
ef131e13
JG
190arm-*-*) gdb_target=arm ;;
191
192c1-*-*) gdb_target=convex ;;
193c2-*-*) gdb_target=convex ;;
194
195h8300-*-*) gdb_target=h8300hms ;;
195e46ea 196h8500-*-*) gdb_target=h8500hms ;;
ef131e13 197
9faacb92
SC
198sh-*-*) gdb_target=sh ;;
199
8f59e92b
FF
200hppa*-*-bsd*) gdb_target=hppabsd ;;
201hppa*-*-hpux*) gdb_target=hppahpux ;;
7079e766 202hppa*-*-hiux*) gdb_target=hppahpux ;;
6bfd168c 203hppa*-*-osf*) gdb_target=hppaosf ;;
ef131e13 204
7382b3b1
ILT
205i[345]86-sequent-bsd*) gdb_target=symmetry ;;
206i[345]86-sequent-sysv4*) gdb_target=ptx4 ;;
207i[345]86-sequent-sysv*) gdb_target=ptx ;;
208i[345]86-ncr-*) gdb_target=ncr3000 ;;
209i[345]86-*-aout*) gdb_target=i386aout ;;
210i[345]86-*-coff*) gdb_target=i386v ;;
211i[345]86-*-elf*) gdb_target=i386v ;;
212i[345]86-*-aix*) gdb_target=i386aix ;;
213i[345]86-*-bsd*) gdb_target=i386bsd ;;
214i[345]86-*-netbsd*) gdb_target=i386bsd ;;
215i[345]86-*-os9k) gdb_target=i386os9k ;;
216i[345]86-*-go32*) gdb_target=i386aout ;;
217i[345]86-*-lynxos*) gdb_target=i386lynx
6ec7e4d3 218 configdirs="${configdirs} gdbserver" ;;
7382b3b1
ILT
219i[345]86-*-solaris*) gdb_target=i386sol2 ;;
220i[345]86-*-sunos*) gdb_target=sun386 ;;
221i[345]86-*-sysv4*) gdb_target=i386v4 ;;
222i[345]86-*-sco*) gdb_target=i386v ;;
223i[345]86-*-sysv*) gdb_target=i386v ;;
224i[345]86-*-linux*) gdb_target=linux ;;
225i[345]86-*-isc*) gdb_target=i386v ;;
226i[345]86-*-mach3*) gdb_target=i386m3 ;;
227i[345]86-*-mach*) gdb_target=i386mach ;;
228i[345]86-*-netware*) gdb_target=i386nw
bdf218b3 229 configdirs="${configdirs} nlm" ;;
7382b3b1 230i[345]86-*-osf1mk*) gdb_target=i386mk ;;
ef131e13 231
3b891e0b
JK
232i960-*-bout*) gdb_target=vxworks960 ;;
233i960-*-coff*) gdb_target=nindy960 ;;
234i960-*-elf*) gdb_target=nindy960 ;;
ebb3a1e5 235
3b891e0b
JK
236i960-*-nindy*) gdb_target=nindy960 ;;
237i960-*-vxworks*) gdb_target=vxworks960 ;;
ef131e13 238
ebb3a1e5
JG
239m68000-*-sunos3*) gdb_target=sun2os3 ;;
240m68000-*-sunos4*) gdb_target=sun2os4 ;;
ef131e13 241
835fe6e6 242m68*-apollo*-bsd*) gdb_target=apollo68b ;;
6ec7e4d3 243m68*-bull-sysv*) gdb_target=dpx2 ;;
6ec7e4d3
SS
244m68*-hp-bsd*) gdb_target=hp300bsd ;;
245m68*-hp-hpux*) gdb_target=hp300hpux ;;
670a8e09
SS
246m68*-altos-*) gdb_target=altos ;;
247m68*-att-*) gdb_target=3b1 ;;
248m68*-cisco*-*) gdb_target=cisco ;;
249m68*-ericsson-*) gdb_target=es1800 ;;
358ca35e 250m68*-isi-*) gdb_target=isi ;;
c649a7c2 251m68*-motorola-*) gdb_target=delta68 ;;
358ca35e
JG
252m68*-netx-*) gdb_target=vxworks68 ;;
253m68*-sony-*) gdb_target=news ;;
254m68*-tandem-*) gdb_target=st2000 ;;
c1128340
RS
255m68*-rom68k-*) gdb_target=monitor ;;
256m68*-*bug-*) gdb_target=monitor ;;
257m68*-monitor-*) gdb_target=monitor ;;
0ffba029
RS
258m68*-*-aout*) gdb_target=monitor ;;
259m68*-*-coff*) gdb_target=monitor ;;
260m68*-*-elf*) gdb_target=monitor ;;
9bebe500 261m68*-*-lynxos*) gdb_target=m68klynx
6ec7e4d3 262 configdirs="${configdirs} gdbserver" ;;
3b891e0b 263m68*-*-os68k*) gdb_target=os68k ;;
358ca35e
JG
264m68*-*-sunos3*) gdb_target=sun3os3 ;;
265m68*-*-sunos4*) gdb_target=sun3os4 ;;
670a8e09 266m68*-*-sysv4*) gdb_target=m68kv4 ;;
358ca35e 267m68*-*-vxworks*) gdb_target=vxworks68 ;;
ef131e13 268
670a8e09 269m88*-harris-cxux*) gdb_target=cxux ;;
f9440640 270m88*-motorola-sysv4*) gdb_target=delta88v4 ;;
6ec7e4d3 271m88*-*-mach3*) gdb_target=mach3 ;;
304977ab
JK
272m88*-motorola-*) gdb_target=delta88 ;;
273m88*-*-*) gdb_target=m88k ;;
ef131e13 274
70126bf9 275mips64*-big-*) gdb_target=bigmips64 ;;
b60f6584 276mips*-big-*) gdb_target=bigmips ;;
6ec7e4d3 277mips*-dec-mach3*) gdb_target=mach3 ;;
b60f6584 278mips*-dec-*) gdb_target=decstation ;;
70126bf9
KH
279mips64*el-*-ecoff*) gdb_target=idtl64 ;;
280mips64*-idt-ecoff*) gdb_target=idt64 ;;
281mips64*el-*-elf*) gdb_target=idtl64 ;;
282mips64*-*-elf*) gdb_target=idt64 ;;
b60f6584
ILT
283mips*el-*-ecoff*) gdb_target=idtl ;;
284mips*-idt-ecoff*) gdb_target=idt ;;
285mips*el-*-elf*) gdb_target=idtl ;;
286mips*-*-elf*) gdb_target=idt ;;
287mips*-little-*) gdb_target=littlemips ;;
288mips*-sgi-irix5*) gdb_target=irix5 ;;
289mips*-sgi-*) gdb_target=irix3 ;;
290mips*-sony-*) gdb_target=bigmips ;;
6ec7e4d3 291mips*-*-mach3*) gdb_target=mach3 ;;
2fe3b329 292mips*-*-sysv4*) gdb_target=mipsv4 ;;
b60f6584
ILT
293mips*-*-sysv*) gdb_target=bigmips ;;
294mips*-*-riscos*) gdb_target=bigmips ;;
ef131e13
JG
295
296none-*-*) gdb_target=none ;;
297
298np1-*-*) gdb_target=np1 ;;
299
6ec7e4d3 300ns32k-*-mach3*) gdb_target=mach3 ;;
3b891e0b 301ns32k-utek-sysv*) gdb_target=merlin ;;
ef131e13
JG
302ns32k-utek-*) gdb_target=umax ;;
303
304pn-*-*) gdb_target=pn ;;
b7da2494
SG
305powerpc-*-netware*) gdb_target=ppc-nw
306 configdirs="${configdirs} nlm" ;;
ef131e13
JG
307
308pyramid-*-*) gdb_target=pyramid ;;
309
d87d7b10 310rs6000-*-lynxos*) gdb_target=rs6000lynx ;;
ef131e13
JG
311rs6000-*-*) gdb_target=rs6000 ;;
312
3b891e0b
JK
313sparc-*-aout*) gdb_target=sparc-em ;;
314sparc-*-coff*) gdb_target=sparc-em ;;
315sparc-*-elf*) gdb_target=sparc-em ;;
9bebe500 316sparc-*-lynxos*) gdb_target=sparclynx
6ec7e4d3 317 configdirs="${configdirs} gdbserver" ;;
74d319e0 318sparc-*-netbsd*) gdb_target=sparcnbsd ;;
ef131e13 319sparc-*-solaris2*) gdb_target=sun4sol2 ;;
ebb3a1e5 320sparc-*-sunos4*) gdb_target=sun4os4 ;;
54d44c8c 321sparc-*-vxworks*) gdb_target=vxsparc ;;
b52373a2 322sparc-*-*) gdb_target=sun4os4 ;;
0c101d49 323sparclite*-*-*) gdb_target=sparclite ;;
6ec7e4d3 324sparc64-*-*) gdb_target=sp64 ;;
ef131e13
JG
325
326tahoe-*-*) gdb_target=tahoe ;;
6ec7e4d3 327
ef131e13 328vax-*-*) gdb_target=vax ;;
6c815bbe 329
3b891e0b
JK
330z8k-*-sim*) gdb_target=z8ksim ;;
331z8k-*-coff*) gdb_target=z8ksim ;;
6ec7e4d3 332
6c815bbe
RP
333esac
334
1a0edbc7 335if [ ! -f ${srcdir}/config/${gdb_target_cpu}/${gdb_target}.mt ]; then
6c815bbe 336 echo '***' "Gdb does not support target ${target}" 1>&2
912e0732
RP
337 exit 1
338fi
339
340if [ -z "${removing}" ] ; then
1a0edbc7 341 cat ${srcdir}/config/${gdb_host_cpu}/${gdb_host}.mh ${srcdir}/config/${gdb_target_cpu}/${gdb_target}.mt | awk '$1 == "#msg" {
912e0732
RP
342 print substr($0,6)}'
343fi
344
bdf3621b 345# We really shouldn't depend on there being a space after TM_FILE= ...
1a0edbc7 346targetfile=`awk '$1 == "TM_FILE=" { print $2 }' <${srcdir}/config/${gdb_target_cpu}/${gdb_target}.mt`
912e0732 347
79f68f0f
DZ
348
349# these really aren't orthogonal true/false values of the same condition,
350# but shells are slow enough that I like to reuse the test conditions
351# whenever possible
352#
d40309c7 353if [ "${target}" = "${host}" ] ; then
1a0edbc7 354 nativefile=`awk '$1 == "NAT_FILE=" { print $2 }' <${srcdir}/config/${gdb_host_cpu}/${gdb_host}.mh`
79f68f0f
DZ
355else
356 # GDBserver is only useful in a "native" enviroment
357 configdirs=`echo $configdirs | sed 's/gdbserver//'`
d40309c7
JG
358fi
359
1a0edbc7
FF
360host_makefile_frag=config/${gdb_host_cpu}/${gdb_host}.mh
361target_makefile_frag=config/${gdb_target_cpu}/${gdb_target}.mt
912e0732 362
d40309c7
JG
363# If hostfile (XM_FILE) and/or targetfile (TM_FILE) and/or nativefile
364# (NAT_FILE) is not set in the ?config/* file, we don't make the
365# corresponding links. But we have to remove the xm.h files and tm.h
366# files anyway, e.g. when switching from "configure host" to
367# "configure none".
368
bdf3621b
JG
369files=
370links=
dc0c3f64 371rm -f xm.h
bdf3621b 372if [ "${hostfile}" != "" ]; then
1a0edbc7
FF
373 if [ -f ${srcdir}/config/${hostfile} ]; then
374 files="${files} config/${hostfile}"
375 else
376 files="${files} config/${gdb_host_cpu}/${hostfile}"
377 fi
bdf3621b
JG
378 links="${links} xm.h"
379fi
dc0c3f64 380rm -f tm.h
bdf3621b 381if [ "${targetfile}" != "" ]; then
1a0edbc7
FF
382 if [ -f ${srcdir}/config/${targetfile} ]; then
383 files="${files} config/${targetfile}"
384 else
385 files="${files} config/${gdb_target_cpu}/${targetfile}"
386 fi
bdf3621b
JG
387 links="${links} tm.h"
388fi
1a0edbc7 389rm -f nm.h
d40309c7 390if [ "${nativefile}" != "" ]; then
1a0edbc7
FF
391 if [ -f ${srcdir}/config/${nativefile} ]; then
392 files="${files} config/${nativefile}"
393 else
394 files="${files} config/${gdb_host_cpu}/${nativefile}"
395 fi
dfc82617 396 links="${links} nm.h"
c9c23412
RP
397# temporary scaffolding until all hosts have the host/target/native
398# split in place.
399else
1a0edbc7 400 files="${files} config/nm-trash.h"
dfc82617 401 links="${links} nm.h"
d40309c7 402fi
bdf3621b 403
754e5da2
SG
404# Make it possible to use the GUI without doing a full install
405if [ "${enable_gdbtk}" = "yes" ] ; then
406 files="${files} gdbtk.tcl"
407 links="${links} gdbtk.tcl"
408fi
409
bdf3621b 410# post-target:
912e0732 411
bdf3621b
JG
412case ${srcdir} in
413 .)
414 ;;
415 *)
e8f8e093 416 grep "source ${srcdir}/.gdbinit" .gdbinit >/dev/null 2>/dev/null || \
bdf3621b
JG
417 echo "source ${srcdir}/.gdbinit" >> .gdbinit
418esac
419
c1ab5dba 420if [ "${nativefile}" = "" ] ; then
41617f8b 421 sed -e '/^NATDEPFILES= /s//# NATDEPFILES= /' \
d40309c7
JG
422 < Makefile > Makefile.tem
423 mv -f Makefile.tem Makefile
424fi
94d4b713 425
754e5da2
SG
426if [ "${enable_gdbtk}" = "yes" ] ; then
427 sed -e '/# End of host and/i\
428\
429ENABLE_DEPFILES = gdbtk.o\
430ENABLE_CLIBS = -ltcl -ltk -lX11 -lm
431' < Makefile > Makefile.tem
432 mv -f Makefile.tem Makefile
433fi
434
94d4b713
JK
435sed -e '/^TM_FILE[ ]*=/s,^TM_FILE[ ]*=[ ]*,&config/'"${gdb_target_cpu}"'/,
436/^XM_FILE[ ]*=/s,^XM_FILE[ ]*=[ ]*,&config/'"${gdb_host_cpu}"'/,
437/^NAT_FILE[ ]*=/s,^NAT_FILE[ ]*=[ ]*,&config/'"${gdb_host_cpu}"'/,' <Makefile >Makefile.tmp
438mv -f Makefile.tmp Makefile
This page took 0.173248 seconds and 4 git commands to generate.