add build-latest target
This commit is contained in:
parent
d76eb5f484
commit
39ad69d825
38
build-all.mk
38
build-all.mk
|
@ -25,6 +25,7 @@ MAKEINFOFLAGS =
|
||||||
|
|
||||||
log = 1>$(canonhost)-build-log 2>&1
|
log = 1>$(canonhost)-build-log 2>&1
|
||||||
cyglog = 1> $(canonhost)-x-$$i-cygnus-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
|
natlog = 1> $(canonhost)-x-$$i-native-build-log 2>&1
|
||||||
|
|
||||||
canonhost := $(shell $(TREE)/config.sub $(host))
|
canonhost := $(shell $(TREE)/config.sub $(host))
|
||||||
|
@ -70,13 +71,14 @@ TARGETS = $(NATIVE) \
|
||||||
a29k-amd-udi \
|
a29k-amd-udi \
|
||||||
h8300-hms h8500-hms \
|
h8300-hms h8500-hms \
|
||||||
i386-aout i386-coff \
|
i386-aout i386-coff \
|
||||||
|
i386-lynx i386-netware \
|
||||||
i960-intel-nindy i960-vxworks \
|
i960-intel-nindy i960-vxworks \
|
||||||
mips-idt-ecoff \
|
mips-idt-ecoff \
|
||||||
m68k-aout m68k-vxworks m68k-coff \
|
m68k-aout m68k-vxworks m68k-coff \
|
||||||
m88k-coff \
|
m88k-coff \
|
||||||
sh-hms \
|
sh-hms \
|
||||||
sparc-aout sparc-vxworks sparclite-aout \
|
sparc-aout sparc-vxworks sparclite-aout \
|
||||||
z8k-sim z8k-coff
|
z8k-coff
|
||||||
GCC = gcc -O -pipe
|
GCC = gcc -O -pipe
|
||||||
all: all-cygnus
|
all: all-cygnus
|
||||||
endif
|
endif
|
||||||
|
@ -120,17 +122,18 @@ endif
|
||||||
|
|
||||||
ifeq ($(canonhost),rs6000-ibm-aix)
|
ifeq ($(canonhost),rs6000-ibm-aix)
|
||||||
TARGETS = $(NATIVE) \
|
TARGETS = $(NATIVE) \
|
||||||
i960-vxworks i960-intel-nindy \
|
a29k-amd-udi \
|
||||||
m68k-aout m68k-vxworks
|
h8300-hms h8500-hms \
|
||||||
# a29k-amd-udi \
|
i386-aout i386-coff \
|
||||||
# h8300-hms h8500-hms \
|
i386-lynx i386-netware \
|
||||||
# i386-aout i386-coff \
|
i960-intel-nindy i960-vxworks \
|
||||||
# mips-idt-ecoff \
|
mips-idt-ecoff \
|
||||||
# m68k-coff \
|
m68k-aout m68k-vxworks m68k-coff \
|
||||||
# m88k-coff \
|
m88k-coff \
|
||||||
# sh-hms \
|
sh-hms \
|
||||||
# sparc-aout sparc-vxworks sparclite-aout \
|
sparc-aout sparc-vxworks sparclite-aout \
|
||||||
# z8k-sim z8k-coff
|
i386-go32 \
|
||||||
|
z8k-coff
|
||||||
all: all-cygnus
|
all: all-cygnus
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@ -284,6 +287,17 @@ build-cygnus:
|
||||||
done
|
done
|
||||||
@echo done at `date`
|
@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:
|
all-native:
|
||||||
[ -d $(INSTALLDIR) ] || mkdir $(INSTALLDIR)
|
[ -d $(INSTALLDIR) ] || mkdir $(INSTALLDIR)
|
||||||
rm -f $(ROOTING)/$(RELEASE_TAG)
|
rm -f $(ROOTING)/$(RELEASE_TAG)
|
||||||
|
|
Loading…
Reference in New Issue