Wed Oct 18 15:53:56 1995 steve chamberlain <sac@slash.cygnus.com>
[deliverable/binutils-gdb.git] / build-all.mk
CommitLineData
87fa4c38 1# Build all of the targets for any given host.....
543cf4ac 2#
87fa4c38
KC
3# This file is going to be ugly. It will be VERY specific to the
4# Cygnus environment and build-process.
543cf4ac 5#
85195426
DE
6# Useful targets (rt = recursion target):
7# (please correct or expand on this)
8# FIXME: Might some of these be superfluous?
543cf4ac 9#
85195426
DE
10# all-emacs
11# all-cygnus - set up install directories, build 3stage native and all
12# supported cross targets, then check 3stage'd native
13# (rt = $(canonhost)-stamp-3stage-done, do-cygnus for cross)
14# native - set up install directories, build 3stage native
15# (rt = $(canonhost)-stamp-3stage-1)
16# build-cygnus - build 3stage native and all supported cross targets
17# (rt = $(canonhost)-stamp-3stage-done, build-cygnus for cross)
87fa4c38 18# build-latest - build all supported cross targets
85195426
DE
19# (rt = build-latest)
20# all-native - set up install directories, build native
21# (rt = do-native)
22# all-cross - set up install directories, build all targets
23# (rt = do-cygnus)
24# config - configure native and all supported cross targets
25# (rt = do1-config, do-native-config for cross)
26# build - build native and all supported cross targets
27# (rt = do1-build, build-native for cross)
28# 3build - build 3stage native and all supported cross targets
29# (rt = all, build-cygnus for cross)
30# build-all-latest - build 3stage native and all supported cross targets
31# (rt = $(canonhost)-stamp-3stage-done, build-latest for cross)
44c1515d
DE
32# clean - remove objdir directories, stamp files
33# (rt = clean)
85195426
DE
34#
35# To configure/build for fewer targets, specify TARGETS="native cross1 ...".
36
db78f2ae 37TREE = devo
022f8f67 38include $(TREE)/release-info
543cf4ac 39
db78f2ae 40TEST_INSTALL_DISK = /dumbo
543cf4ac 41
022f8f67 42INSTALLDIR = $(TEST_INSTALL_DISK)/$(TREE)-test/$(RELEASE_TAG)
543cf4ac 43
12eda620
ILT
44ifndef host
45host := $(shell $(TREE)/config.guess)
46endif
47
022f8f67
DZ
48NATIVE = native
49
b39958ad 50GCC = gcc
e87f9243 51CFLAGS = -g
b39958ad
JM
52GNUCFLAGS= -g -O2
53CXXFLAGS = -g -O2
9823504d 54MAKEINFOFLAGS =
543cf4ac
DZ
55
56log = 1>$(canonhost)-build-log 2>&1
0689f73a 57clog = 1>$(canonhost)-check-log 2>&1
f74859e4 58cyglog = 1> $(canonhost)-x-$$i-cygnus-build-log 2>&1
39ad69d8 59latestlog = 1> $(canonhost)-x-$$i-latest-build-log 2>&1
f74859e4 60natlog = 1> $(canonhost)-x-$$i-native-build-log 2>&1
543cf4ac
DZ
61
62canonhost := $(shell $(TREE)/config.sub $(host))
12eda620
ILT
63
64# Convert config.guess results to a simpler form.
89da237f
ILT
65ifeq ($(canonhost),sparc-sun-solaris2.1)
66canonhost := sparc-sun-solaris2
67endif
85195426
DE
68ifeq ($(canonhost),sparc-sun-solaris2.3)
69canonhost := sparc-sun-solaris2
70endif
12eda620
ILT
71ifeq ($(canonhost),mips-dec-ultrix4.2)
72canonhost := mips-dec-ultrix
73endif
74ifeq ($(canonhost),mips-sgi-irix4.0.1)
75canonhost := mips-sgi-irix4
76endif
85195426
DE
77ifeq ($(canonhost),mips-sgi-irix4.0.5H)
78canonhost := mips-sgi-irix4
79endif
175e702b
KC
80ifeq ($(canonhost),mips-sgi-irix5.2)
81canonhost := mips-sgi-irix5
82endif
db526bd7
ILT
83ifeq ($(canonhost),rs6000-ibm-aix3.2)
84canonhost := rs6000-ibm-aix
85endif
12eda620 86ifeq ($(canonhost),i486-unknown-sco3.2v4.0)
21412832
ILT
87canonhost := i386-sco3.2v4
88endif
ec782faa
DZ
89ifeq ($(canonhost),i386-unknown-sco3.2v4.0)
90canonhost := i386-sco3.2v4
91endif
08629ab8
DZ
92ifeq ($(canonhost),i386-unknown-sco3.2v4)
93canonhost := i386-sco3.2v4
94endif
60986901
ILT
95ifeq ($(canonhost),i386-unknown-go32)
96canonhost := i386-go32
97endif
89745e93
DZ
98ifeq ($(canonhost),i386-unknown-sysv4.2)
99canonhost := i386-sysv4.2
100endif
f358c814 101ifeq ($(canonhost),i386-lynx-lynxos)
8456a631 102canonhost := i386-lynx
f358c814
DZ
103endif
104ifeq ($(canonhost),m68k-lynx-lynxos)
8456a631 105canonhost := m68k-lynx
f358c814 106endif
c5a1c226
KC
107ifeq ($(canonhost),sparc-lynx-lynxos)
108canonhost := sparc-lynx
109endif
110ifeq ($(canonhost),rs6000-lynx-lynxos)
055cc3ff
KC
111canonhost := rs6000-lynx
112endif
b39958ad
JM
113ifeq ($(canonhost),i386-unknown-linux)
114canonhost := i386-linux
115endif
116ifeq ($(canonhost),i486-unknown-linux)
117canonhost := i486-linux
118endif
119ifeq ($(canonhost),i586-unknown-linux)
120canonhost := i486-linux
121endif
c55c62ed
JM
122ifeq ($(canonhost),i386-unknown-linuxaout)
123canonhost := i386-linuxaout
b39958ad 124endif
c55c62ed
JM
125ifeq ($(canonhost),i486-unknown-linuxaout)
126canonhost := i486-linuxaout
b39958ad 127endif
c55c62ed
JM
128ifeq ($(canonhost),i586-unknown-linuxaout)
129canonhost := i486-linuxaout
b39958ad 130endif
543cf4ac 131
e3f6f4cf
BC
132#
133# The following TARGETS variable settings probably ought to
134# be made automatically from the
135# /s1/cygnus/progressive/host-target-pairs.tbl file, using
136# the /s1/cygnus/progressive/targets script. But, be sure
137# that the native is spelled 'native'.
138#
139
32480238
DZ
140ifeq ($(canonhost),sparc-sun-sunos4.1.3)
141TARGETS = $(NATIVE) \
d5b2cb76 142 i386-go32 \
32480238 143 a29k-amd-udi \
db78f2ae
AMT
144 h8300-hms h8500-hms \
145 hppa1.1-hp-proelf \
146 i386-aout i386-elf \
147 i960-nindy-coff i960-vxworks5.0 i960-vxworks5.1 \
148 m68k-aout m68k-coff m68k-elf m68k-vxworks5.1 \
055cc3ff 149 mips-idt-ecoff mips64-elf mips-elf \
db78f2ae
AMT
150 sh-hms \
151 sparc-aout sparc64-aout sparc-vxworks \
152 sparclite-aout sparclite-coff sparclite-vxworks \
153 z8k-coff \
154 OSE68000 OSE68k mips-ncd-elf i386-unixware
155# The OSE68000 and OSE68k targets are for Ericsson only.
a846e83d 156GCC = gcc -O2 -pipe
543cf4ac
DZ
157all: all-cygnus
158endif
159
160ifeq ($(canonhost),m68k-sun-sunos4.1.1)
db78f2ae 161TARGETS = $(NATIVE)
a846e83d 162GCC = gcc -O2 -msoft-float
7cc2923a 163CC = cc -J
543cf4ac
DZ
164all: all-cygnus
165endif
166
167ifeq ($(canonhost),sparc-sun-solaris2)
32480238 168TARGETS = $(NATIVE) \
d5b2cb76 169 a29k-amd-udi \
db78f2ae
AMT
170 h8300-hms h8500-hms \
171 hppa1.1-hp-proelf \
87fa4c38 172 i960-vxworks5.0 i960-vxworks5.1 \
db78f2ae
AMT
173 m68k-aout m68k-coff m68k-vxworks5.1 m88k-coff \
174 mips-idt-ecoff mips-elf \
175 sparc64-elf sparclite-aout sparclite-coff \
e3f6f4cf
BC
176 OSE68000 OSE68k \
177 sparc-sun-sunos4.1.3
178# The latter assures that BNR's special build (which they now
179# do for themselves from sources) hasn't developed bit-rot.
180# The OSE68000 and OSE68k targets are for Ericsson only.
181
ac42799d 182CC = cc
a846e83d 183GCC = gcc -O2 -pipe
543cf4ac
DZ
184all: all-cygnus
185endif
186
187ifeq ($(canonhost),mips-dec-ultrix)
e110c2a8 188TARGETS = $(NATIVE) m68k-aout
872ff7ef 189CC = cc -Wf,-XNg1000
543cf4ac
DZ
190all: all-cygnus
191endif
192
b39958ad 193ifeq ($(patsubst alpha-dec-osf%,alpha,$(canonhost)),alpha)
87fa4c38
KC
194TARGETS = $(NATIVE)
195CC = cc
196all: all-cygnus
197endif
198
543cf4ac 199ifeq ($(canonhost),mips-sgi-irix4)
89745e93 200TARGETS = $(NATIVE) \
db78f2ae
AMT
201 mips-idt-ecoff \
202 mips-elf mips64-elf \
203 sh-hms
fea15001 204CC = cc -cckr -Wf,-XNg1500 -Wf,-XNk1000 -Wf,-XNh2000
543cf4ac
DZ
205all: all-cygnus
206endif
207
175e702b
KC
208ifeq ($(canonhost),mips-sgi-irix5)
209TARGETS = $(NATIVE) \
db78f2ae
AMT
210 mips-idt-ecoff \
211 mips-elf mips64-elf \
212 sh-hms
175e702b
KC
213CC = cc -cckr -Wf,-XNg1500 -Wf,-XNk1000 -Wf,-XNh2000
214all: all-cygnus
215endif
216
db78f2ae
AMT
217ifeq ($(canonhost),powerpc-ibm-aix4.1.1)
218TARGETS = $(NATIVE)
219all: all-cygnus
220endif
221
543cf4ac 222ifeq ($(canonhost),rs6000-ibm-aix)
32480238 223TARGETS = $(NATIVE) \
87fa4c38 224 i960-vxworks5.0 i960-vxworks5.1 \
a4c50dd0 225 m68k-aout
543cf4ac
DZ
226all: all-cygnus
227endif
228
db78f2ae
AMT
229ifeq ($(canonhost),rs6000-ibm-aix3.2.5)
230TARGETS = $(NATIVE) \
231 i960-vxworks5.0 i960-vxworks5.1 \
232 m68k-aout
233all: all-cygnus
234endif
235
543cf4ac 236ifeq ($(canonhost),m68k-hp-hpux)
07be0634 237TARGETS = $(NATIVE) m68k-aout
e37dbf93 238TMPDIR := $(shell mkdir $(canonhost)-tmpdir; cd $(canonhost)-tmpdir ; pwd)
db78f2ae 239CC = cc -Wp,-P,-H256000
32480238 240#CFLAGS = +O1000
87fa4c38 241CFLAGS = -g
eb0293dc 242all: all-cygnus
543cf4ac
DZ
243endif
244
245ifeq ($(canonhost),hppa1.1-hp-hpux)
32480238 246TARGETS = \
d5b2cb76 247 $(NATIVE) \
db78f2ae
AMT
248 h8300-hms \
249 hppa1.1-hp-proelf \
87fa4c38 250 i960-vxworks5.0 i960-vxworks5.1 \
db78f2ae 251 m68k-aout m68k-coff m68k-vxworks5.1
055cc3ff 252CC = cc -Wp,-H256000
32480238
DZ
253#CFLAGS = +Obb2000
254CFLAGS = -g
055cc3ff 255all: all-cygnus
543cf4ac
DZ
256endif
257
21412832 258ifeq ($(canonhost),i386-sco3.2v4)
db78f2ae 259TARGETS = $(NATIVE)
21412832
ILT
260all: all-cygnus
261endif
262
60986901 263ifeq ($(canonhost),i386-go32)
d5b2cb76 264TARGETS = \
32480238 265 a29k-amd-udi \
db78f2ae 266 h8300-hms hppa1.1-hp-proelf \
d5b2cb76 267 i386-aout \
32480238 268 m68k-aout m68k-coff \
db78f2ae 269 mips-elf mips-idt-ecoff mips64-elf \
d5b2cb76 270 sh-hms \
db78f2ae 271 sparc-aout sparclite-aout sparclite-coff
60986901 272CC = i386-go32-gcc
a846e83d 273GCC = i386-go32-gcc -O2
9823504d 274CFLAGS =
a846e83d 275CXXFLAGS = -O2
9823504d 276MAKEINFOFLAGS = --no-split
055cc3ff 277all: all-dos
60986901
ILT
278endif
279
7f82101d 280ifeq ($(canonhost),i386-sysv4.2)
a4c50dd0 281TARGETS = $(NATIVE) i386-netware
32480238
DZ
282CC = cc
283all: all-cygnus
284endif
285
1793e157
AMT
286ifeq ($(canonhost),i386-ncr-sysv4.3)
287TARGETS = $(NATIVE)
288CC = cc
289CFLAGS = -Hnocopyr
290SHELL = /usr/unsupported/bin/bash
291CONFIG_SHELL = /usr/unsupported/bin/bash
292all: all-cygnus
293endif
294
8456a631 295ifeq ($(canonhost),i386-lynx)
f358c814 296TARGETS = $(NATIVE)
756b40d5 297CC = /usr/cygnus/progressive/bin/gcc
f358c814 298all: all-cygnus
fb682d69 299SHELL=/bin/bash
f358c814
DZ
300endif
301
8456a631 302ifeq ($(canonhost),m68k-lynx)
f358c814 303TARGETS = $(NATIVE)
756b40d5 304CC = /usr/cygnus/progressive/bin/gcc
f358c814 305all: all-cygnus
fb682d69 306SHELL=/bin/bash
f358c814
DZ
307endif
308
055cc3ff
KC
309ifeq ($(canonhost),sparc-lynx)
310TARGETS = $(NATIVE)
756b40d5 311CC = /usr/cygnus/progressive/bin/gcc
055cc3ff
KC
312all: all-cygnus
313SHELL=/bin/bash
314endif
315
316ifeq ($(canonhost),rs6000-lynx)
317TARGETS = $(NATIVE)
b5775df3 318CC = /usr/cygnus/progressive/bin/gcc
055cc3ff
KC
319all: all-cygnus
320SHELL=/bin/bash
321endif
322
c55c62ed 323ifeq ($(patsubst %-linux,linux,$(patsubst %-linuxaout,linux,$(canonhost))),linux)
b39958ad
JM
324TARGETS = $(NATIVE)
325all: all-cygnus
326endif
327
543cf4ac
DZ
328FLAGS_TO_PASS := \
329 "GCC=$(GCC)" \
7cc2923a 330 "CC=$(CC)" \
543cf4ac 331 "CFLAGS=$(CFLAGS)" \
b39958ad 332 "GNUCFLAGS=$(GNUCFLAGS)" \
e87f9243 333 "CXXFLAGS=$(CXXFLAGS)" \
12eda620 334 "host=$(canonhost)" \
9823504d 335 "MAKEINFOFLAGS=$(MAKEINFOFLAGS)" \
fb682d69
ME
336 "RELEASE_TAG=$(RELEASE_TAG)" \
337 "SHELL=$(SHELL)"
543cf4ac 338
7ae68194 339# set GNU_MAKE and CONFIG_SHELL correctly in sub-builds
87fa4c38 340ifeq ($(patsubst %-lynx,lynx,$(canonhost)),lynx)
7ae68194
ME
341FLAGS_TO_PASS := $(FLAGS_TO_PASS) "GNU_MAKE=$(MAKE)" "CONFIG_SHELL=/bin/bash"
342endif
343
c55c62ed 344ifeq ($(patsubst %-linux,linux,$(patsubst %-linuxaout,linux,$(canonhost))),linux)
b39958ad
JM
345FLAGS_TO_PASS := $(FLAGS_TO_PASS) "GNU_MAKE=$(MAKE)"
346endif
347
1793e157
AMT
348ifeq ($(patsubst %i386-ncr-sysv4.3,ncr,$(canonhost)),ncr)
349FLAGS_TO_PASS := $(FLAGS_TO_PASS) "CONFIG_SHELL=/usr/unsupported/bin/bash"
350endif
351
57dfb584
DZ
352all-emacs:
353 @echo build started at `date`
354 [ -d $(INSTALLDIR) ] || mkdir $(INSTALLDIR)
f358c814 355 -rm -f $(ROOTING)/$(RELEASE_TAG)
022f8f67 356 ln -s $(INSTALLDIR) $(ROOTING)/$(RELEASE_TAG)
08629ab8
DZ
357 $(MAKE) -f test-build.mk $(FLAGS_TO_PASS) do1 > $(canonhost)-emacs-native-log 2>&1
358 $(MAKE) -f test-build.mk $(FLAGS_TO_PASS) do-latest > $(canonhost)-emacs-latest-log 2>&1
57dfb584
DZ
359 @echo done at `date`
360
543cf4ac
DZ
361all-cygnus:
362 @echo build started at `date`
363 [ -d $(INSTALLDIR) ] || mkdir $(INSTALLDIR)
c262769a 364 -rm -f $(ROOTING)/$(RELEASE_TAG) && ln -s $(INSTALLDIR) $(ROOTING)/$(RELEASE_TAG)
c5a1c226 365#
87fa4c38
KC
366# The following line to be used during regular progressive builds
367# to help developers test, but should be commented out for final
368# progressive build.
c5a1c226 369#
87fa4c38 370# -rm -f $(ROOTING)/progressive-beta && ln -s $(RELEASE_TAG) $(ROOTING)/progresssive
543cf4ac
DZ
371 @for i in $(TARGETS) ; do \
372 if [ "$$i" = "native" ] ; then \
75217b36 373 if [ ! -f $(canonhost)-stamp-3stage-done ] ; then \
543cf4ac 374 echo "3staging $(canonhost) native" ; \
87fa4c38 375 echo Flags passed to make: $(FLAGS_TO_PASS) ; \
db78f2ae
AMT
376 if $(MAKE) -f test-build.mk $(FLAGS_TO_PASS) $(canonhost)-stamp-3stage-done $(log); then \
377 echo " completed successfully" ; \
378 else \
379 exit 1; \
380 fi; \
75217b36
ILT
381 else \
382 true ; \
1900e815 383 fi ; \
543cf4ac
DZ
384 else \
385 echo "building $(canonhost) cross to $$i" ; \
f74859e4 386 $(MAKE) -f test-build.mk $(FLAGS_TO_PASS) target=$$i do-cygnus $(cyglog) && \
543cf4ac
DZ
387 echo " completed successfully" ; \
388 fi ; \
389 done
0689f73a
ME
390 @if [ ! -f $(canonhost)-stamp-3stage-checked ] ; then \
391 echo checking $(canonhost) native ; \
392 $(MAKE) -f test-build.mk $(FLAGS_TO_PASS) $(canonhost)-check-3stage $(clog) ; \
393 touch $(canonhost)-stamp-3stage-checked ; \
394 else \
395 true ; \
396 fi
543cf4ac
DZ
397 @echo done at `date`
398
c676f606
DZ
399native:
400 @echo build started at `date`
401 [ -d $(INSTALLDIR) ] || mkdir $(INSTALLDIR)
c5a1c226
KC
402 -rm -f $(ROOTING)/$(RELEASE_TAG) && ln -s $(INSTALLDIR) $(ROOTING)/$(RELEASE_TAG)
403# -rm -f $(ROOTING)/progressive-beta && ln -s $(RELEASE_TAG) $(ROOTING)/progressive-beta
21412832 404 $(MAKE) -f test-build.mk $(FLAGS_TO_PASS) $(canonhost)-stamp-3stage-done $(log)
c676f606
DZ
405 @echo done at `date`
406
5ba00487
DZ
407build-cygnus:
408 @echo build started at `date`
409 @for i in $(TARGETS) ; do \
410 if [ "$$i" = "native" ] ; then \
411 if [ ! -f $(canonhost)-3stage-done ] ; then \
412 echo "3staging $(canonhost) native" ; \
21412832 413 $(MAKE) -f test-build.mk $(FLAGS_TO_PASS) $(canonhost)-stamp-3stage-done $(log) && \
5ba00487 414 echo " completed successfully" ; \
1900e815 415 fi ; \
5ba00487 416 else \
13ec8aad 417 echo "building $(canonhost) cross to $$i:" `date` ; \
f74859e4 418 $(MAKE) -f test-build.mk $(FLAGS_TO_PASS) target=$$i build-cygnus $(cyglog) && \
5ba00487
DZ
419 echo " completed successfully" ; \
420 fi ; \
421 done
422 @echo done at `date`
423
39ad69d8
DZ
424build-latest:
425 @echo build started at `date`
426 @for i in $(TARGETS) ; do \
427 if [ "$$i" != "native" ] ; then \
428 echo "building $(canonhost) cross to $$i:" `date` ; \
429 $(MAKE) -f test-build.mk $(FLAGS_TO_PASS) target=$$i build-latest $(latestlog) && \
430 echo " completed successfully" ; \
431 fi ; \
432 done
433 @echo done at `date`
434
543cf4ac
DZ
435all-native:
436 [ -d $(INSTALLDIR) ] || mkdir $(INSTALLDIR)
022f8f67
DZ
437 rm -f $(ROOTING)/$(RELEASE_TAG)
438 ln -s $(INSTALLDIR) $(ROOTING)/$(RELEASE_TAG)
543cf4ac
DZ
439 @for i in $(TARGETS) ; do \
440 echo "building $(canonhost) cross to $$i" ; \
f74859e4 441 $(MAKE) -f test-build.mk $(FLAGS_TO_PASS) target=$$i do-native $(natlog) && \
543cf4ac
DZ
442 echo " completed successfully" ; \
443 done
444
60986901
ILT
445all-cross:
446 [ -d $(INSTALLDIR) ] || mkdir $(INSTALLDIR)
a9377e86
ILT
447 rm -f $(ROOTING)/$(RELEASE_TAG)
448 ln -s $(INSTALLDIR) $(ROOTING)/$(RELEASE_TAG)
60986901
ILT
449 @for i in $(TARGETS) ; do \
450 echo "building $(canonhost) cross to $$i" ; \
f74859e4 451 $(MAKE) -f test-build.mk $(FLAGS_TO_PASS) target=$$i build=$(build) do-cygnus $(cyglog) && \
60986901
ILT
452 echo " completed successfully" ; \
453 done
454
8456a631
KC
455do-dos:
456 $(MAKE) -f build-all.mk build=$(host) host=i386-go32 all-dos
457all-dos:
458 @for i in $(TARGETS) ; do \
459 echo "building $(canonhost) cross to $$i" ; \
055cc3ff 460 $(MAKE) -f test-build.mk $(FLAGS_TO_PASS) host=$(host) target=$$i do-dos $(cyglog) && \
8456a631
KC
461 echo " completed successfully at `date`" ; \
462 done
463
543cf4ac
DZ
464config:
465 @for i in $(TARGETS) ; do \
466 if [ "$$i" = "native" ] ; then \
467 echo "config stage1 for $(canonhost)" ; \
468 $(MAKE) -f test-build.mk $(FLAGS_TO_PASS) do1-config $(log) && \
469 echo " completed successfully" ; \
470 else \
471 echo "config $(canonhost) cross to $$i" ; \
f74859e4 472 $(MAKE) -f test-build.mk $(FLAGS_TO_PASS) target=$$i do-native-config $(cyglog) && \
543cf4ac
DZ
473 echo " completed successfully" ; \
474 fi ; \
475 done
476
477
478build:
479 @for i in $(TARGETS) ; do \
480 if [ "$$i" = "native" ] ; then \
481 $(MAKE) -f test-build.mk $(FLAGS_TO_PASS) do1-build $(log) && \
482 echo " completed successfully" ; \
483 else \
484 echo "building $(canonhost) cross to $$i" ; \
c262769a 485 $(MAKE) -f test-build.mk $(FLAGS_TO_PASS) target=$$i build-native $(natlog) && \
543cf4ac
DZ
486 echo " completed successfully" ; \
487 fi ; \
488 done
489
490
4913build:
492 @for i in $(TARGETS) ; do \
493 if [ "$$i" = "native" ] ; then \
494 echo "building 3stage for $(canonhost)" ; \
495 $(MAKE) -f test-build.mk $(FLAGS_TO_PASS) all $(log) && \
496 echo " completed successfully" ; \
497 else \
498 echo "building $(canonhost) cross to $$i" ; \
f74859e4 499 $(MAKE) -f test-build.mk $(FLAGS_TO_PASS) target=$$i build-cygnus $(cyglog) && \
543cf4ac
DZ
500 echo " completed successfully" ; \
501 fi ; \
502 done
503
87c6c079
DZ
504build-all-latest:
505 @for i in $(TARGETS) ; do \
506 if [ "$$i" = "native" ] ; then \
507 echo "building 3stage for $(canonhost)" ; \
508 $(MAKE) -f test-build.mk $(FLAGS_TO_PASS) $(canonhost)-stamp-3stage-done $(log) && \
509 echo " completed successfully" ; \
510 else \
511 echo "building $(canonhost) cross to $$i" ; \
512 $(MAKE) -f test-build.mk $(FLAGS_TO_PASS) target=$$i build-latest $(cyglog) && \
513 echo " completed successfully" ; \
514 fi ; \
515 done
516
44c1515d
DE
517clean:
518 $(MAKE) -f test-build.mk $(FLAGS_TO_PASS) clean $(log)
519
543cf4ac
DZ
520### Local Variables:
521### fill-column: 131
522### End:
This page took 0.133445 seconds and 4 git commands to generate.