aboutsummaryrefslogtreecommitdiff
path: root/build-all.mk
diff options
context:
space:
mode:
authorDavid D. Zuhn <zoo@cygnus>1993-10-12 23:26:57 +0000
committerDavid D. Zuhn <zoo@cygnus>1993-10-12 23:26:57 +0000
commit39ad69d825615dcbc472dd59d7eb5c960f514240 (patch)
treec78ea74427f4ce51003909c8312b0ac5d50f8b01 /build-all.mk
parentd76eb5f484fd0367a1cfd99365a24c83ba870070 (diff)
downloadgdb-39ad69d825615dcbc472dd59d7eb5c960f514240.zip
gdb-39ad69d825615dcbc472dd59d7eb5c960f514240.tar.gz
gdb-39ad69d825615dcbc472dd59d7eb5c960f514240.tar.bz2
add build-latest target
Diffstat (limited to 'build-all.mk')
-rw-r--r--build-all.mk38
1 files changed, 26 insertions, 12 deletions
diff --git a/build-all.mk b/build-all.mk
index 768507e..5641dba 100644
--- a/build-all.mk
+++ b/build-all.mk
@@ -25,6 +25,7 @@ MAKEINFOFLAGS =
log = 1>$(canonhost)-build-log 2>&1
cyglog = 1> $(canonhost)-x-$$i-cygnus-build-log 2>&1
+latestlog = 1> $(canonhost)-x-$$i-latest-build-log 2>&1
natlog = 1> $(canonhost)-x-$$i-native-build-log 2>&1
canonhost := $(shell $(TREE)/config.sub $(host))
@@ -70,13 +71,14 @@ TARGETS = $(NATIVE) \
a29k-amd-udi \
h8300-hms h8500-hms \
i386-aout i386-coff \
+ i386-lynx i386-netware \
i960-intel-nindy i960-vxworks \
mips-idt-ecoff \
m68k-aout m68k-vxworks m68k-coff \
m88k-coff \
sh-hms \
sparc-aout sparc-vxworks sparclite-aout \
- z8k-sim z8k-coff
+ z8k-coff
GCC = gcc -O -pipe
all: all-cygnus
endif
@@ -120,17 +122,18 @@ endif
ifeq ($(canonhost),rs6000-ibm-aix)
TARGETS = $(NATIVE) \
- i960-vxworks i960-intel-nindy \
- m68k-aout m68k-vxworks
-# a29k-amd-udi \
-# h8300-hms h8500-hms \
-# i386-aout i386-coff \
-# mips-idt-ecoff \
-# m68k-coff \
-# m88k-coff \
-# sh-hms \
-# sparc-aout sparc-vxworks sparclite-aout \
-# z8k-sim z8k-coff
+ a29k-amd-udi \
+ h8300-hms h8500-hms \
+ i386-aout i386-coff \
+ i386-lynx i386-netware \
+ i960-intel-nindy i960-vxworks \
+ mips-idt-ecoff \
+ m68k-aout m68k-vxworks m68k-coff \
+ m88k-coff \
+ sh-hms \
+ sparc-aout sparc-vxworks sparclite-aout \
+ i386-go32 \
+ z8k-coff
all: all-cygnus
endif
@@ -284,6 +287,17 @@ build-cygnus:
done
@echo done at `date`
+build-latest:
+ @echo build started at `date`
+ @for i in $(TARGETS) ; do \
+ if [ "$$i" != "native" ] ; then \
+ echo "building $(canonhost) cross to $$i:" `date` ; \
+ $(MAKE) -f test-build.mk $(FLAGS_TO_PASS) target=$$i build-latest $(latestlog) && \
+ echo " completed successfully" ; \
+ fi ; \
+ done
+ @echo done at `date`
+
all-native:
[ -d $(INSTALLDIR) ] || mkdir $(INSTALLDIR)
rm -f $(ROOTING)/$(RELEASE_TAG)