projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* libaout.h (machine_type): added M_68K_NETBSD and M_SPARC_NETBSD.
[deliverable/binutils-gdb.git]
/
build-all.mk
diff --git
a/build-all.mk
b/build-all.mk
index 5a215c291ec5e745fde038976c42b56f752bcd6f..7f73893aba303a51ab03ce754226338ea660798d 100644
(file)
--- a/
build-all.mk
+++ b/
build-all.mk
@@
-1,7
+1,7
@@
-#
Build all of the targets for any given host.....
+# Build all of the targets for any given host.....
#
#
-#
This file is going to be ugly. It will be VERY specific to the
-#
Cygnus environment and build-process.
+# This file is going to be ugly. It will be VERY specific to the
+# Cygnus environment and build-process.
#
# Useful targets (rt = recursion target):
# (please correct or expand on this)
#
# Useful targets (rt = recursion target):
# (please correct or expand on this)
@@
-15,7
+15,7
@@
# (rt = $(canonhost)-stamp-3stage-1)
# build-cygnus - build 3stage native and all supported cross targets
# (rt = $(canonhost)-stamp-3stage-done, build-cygnus for cross)
# (rt = $(canonhost)-stamp-3stage-1)
# build-cygnus - build 3stage native and all supported cross targets
# (rt = $(canonhost)-stamp-3stage-done, build-cygnus for cross)
-# build-latest - build
native and
all supported cross targets
+# build-latest - build all supported cross targets
# (rt = build-latest)
# all-native - set up install directories, build native
# (rt = do-native)
# (rt = build-latest)
# all-native - set up install directories, build native
# (rt = do-native)
@@
-37,7
+37,7
@@
TREE = devo
include $(TREE)/release-info
TREE = devo
include $(TREE)/release-info
-TEST_INSTALL_DISK = /
galt
+TEST_INSTALL_DISK = /
abc
INSTALLDIR = $(TEST_INSTALL_DISK)/$(TREE)-test/$(RELEASE_TAG)
INSTALLDIR = $(TEST_INSTALL_DISK)/$(TREE)-test/$(RELEASE_TAG)
@@
-47,9
+47,9
@@
endif
NATIVE = native
NATIVE = native
-GCC = gcc -O
+GCC = gcc -O
2
CFLAGS = -g
CFLAGS = -g
-CXXFLAGS = -g -O -fexternal-templates
+CXXFLAGS = -g -O
2
-fexternal-templates
MAKEINFOFLAGS =
log = 1>$(canonhost)-build-log 2>&1
MAKEINFOFLAGS =
log = 1>$(canonhost)-build-log 2>&1
@@
-76,6
+76,9
@@
endif
ifeq ($(canonhost),mips-sgi-irix4.0.5H)
canonhost := mips-sgi-irix4
endif
ifeq ($(canonhost),mips-sgi-irix4.0.5H)
canonhost := mips-sgi-irix4
endif
+ifeq ($(canonhost),mips-sgi-irix5.2)
+canonhost := mips-sgi-irix5
+endif
ifeq ($(canonhost),rs6000-ibm-aix3.2)
canonhost := rs6000-ibm-aix
endif
ifeq ($(canonhost),rs6000-ibm-aix3.2)
canonhost := rs6000-ibm-aix
endif
@@
-114,7
+117,7
@@
TARGETS = $(NATIVE) \
h8300-hms \
i386-aout \
i386-lynx \
h8300-hms \
i386-aout \
i386-lynx \
- i960-vxworks
\
+ i960-vxworks
5.0 i960-vxworks5.1
\
mips-idt-ecoff mips64-elf mips-elf \
m68k-aout m68k-vxworks m68k-coff \
m68k-lynx \
mips-idt-ecoff mips64-elf mips-elf \
m68k-aout m68k-vxworks m68k-coff \
m68k-lynx \
@@
-122,14
+125,14
@@
TARGETS = $(NATIVE) \
sparc-aout sparc-lynx sparc-vxworks \
sparclite-aout sparclite-vxworks \
sparclite-coff z8k-coff
sparc-aout sparc-lynx sparc-vxworks \
sparclite-aout sparclite-vxworks \
sparclite-coff z8k-coff
-GCC = gcc -O -pipe
+GCC = gcc -O
2
-pipe
all: all-cygnus
endif
ifeq ($(canonhost),m68k-sun-sunos4.1.1)
TARGETS = $(NATIVE) \
m68k-coff
all: all-cygnus
endif
ifeq ($(canonhost),m68k-sun-sunos4.1.1)
TARGETS = $(NATIVE) \
m68k-coff
-GCC = gcc -O -msoft-float
+GCC = gcc -O
2
-msoft-float
CC = cc -J
all: all-cygnus
endif
CC = cc -J
all: all-cygnus
endif
@@
-137,12
+140,12
@@
endif
ifeq ($(canonhost),sparc-sun-solaris2)
TARGETS = $(NATIVE) \
a29k-amd-udi \
ifeq ($(canonhost),sparc-sun-solaris2)
TARGETS = $(NATIVE) \
a29k-amd-udi \
- i960-vxworks \
+ i960-vxworks
5.0 i960-vxworks5.1
\
m68k-aout m68k-coff m68k-vxworks \
m68k-aout m68k-coff m68k-vxworks \
- m
88k-coff
\
- mipsel-idt-ecoff sparc-lynx
+ m
ipsel-idt-ecoff sparc-lynx
\
+ sparclite-aout sparclite-coff m88k-coff z8k-coff
CC = cc -Xs
CC = cc -Xs
-GCC = gcc -O -pipe
+GCC = gcc -O
2
-pipe
all: all-cygnus
endif
all: all-cygnus
endif
@@
-152,6
+155,12
@@
CC = cc -Wf,-XNg1000
all: all-cygnus
endif
all: all-cygnus
endif
+ifeq ($(canonhost),alpha-dec-osf1.3)
+TARGETS = $(NATIVE)
+CC = cc
+all: all-cygnus
+endif
+
ifeq ($(canonhost),mips-sgi-irix4)
TARGETS = $(NATIVE) \
mips-idt-ecoff sh-hms \
ifeq ($(canonhost),mips-sgi-irix4)
TARGETS = $(NATIVE) \
mips-idt-ecoff sh-hms \
@@
-160,9
+169,17
@@
CC = cc -cckr -Wf,-XNg1500 -Wf,-XNk1000 -Wf,-XNh2000
all: all-cygnus
endif
all: all-cygnus
endif
+ifeq ($(canonhost),mips-sgi-irix5)
+TARGETS = $(NATIVE) \
+ mips-idt-ecoff sh-hms \
+ mips64-elf
+CC = cc -cckr -Wf,-XNg1500 -Wf,-XNk1000 -Wf,-XNh2000
+all: all-cygnus
+endif
+
ifeq ($(canonhost),rs6000-ibm-aix)
TARGETS = $(NATIVE) \
ifeq ($(canonhost),rs6000-ibm-aix)
TARGETS = $(NATIVE) \
- i960-vxworks \
+ i960-vxworks
5.0 i960-vxworks5.1
\
m68k-aout
all: all-cygnus
endif
m68k-aout
all: all-cygnus
endif
@@
-172,15
+189,16
@@
TARGETS = $(NATIVE) m68k-aout
TMPDIR := $(shell mkdir $(canonhost)-tmpdir; cd $(canonhost)-tmpdir ; pwd)
CC = cc -Wp,-P
#CFLAGS = +O1000
TMPDIR := $(shell mkdir $(canonhost)-tmpdir; cd $(canonhost)-tmpdir ; pwd)
CC = cc -Wp,-P
#CFLAGS = +O1000
-CFLAGS =
+CFLAGS =
-g
all: all-cygnus
endif
ifeq ($(canonhost),hppa1.1-hp-hpux)
TARGETS = \
$(NATIVE) \
all: all-cygnus
endif
ifeq ($(canonhost),hppa1.1-hp-hpux)
TARGETS = \
$(NATIVE) \
- i960-vxworks \
- m68k-aout m68k-vxworks
+ i960-vxworks5.0 i960-vxworks5.1 \
+ m68k-aout m68k-coff m68k-vxworks \
+ z8k-coff
CC = cc -Wp,-H256000
#CFLAGS = +Obb2000
CFLAGS = -g
CC = cc -Wp,-H256000
#CFLAGS = +Obb2000
CFLAGS = -g
@@
-202,9
+220,9
@@
TARGETS = \
sh-hms \
sparclite-aout
CC = i386-go32-gcc
sh-hms \
sparclite-aout
CC = i386-go32-gcc
-GCC = i386-go32-gcc -O
+GCC = i386-go32-gcc -O
2
CFLAGS =
CFLAGS =
-CXXFLAGS = -O
+CXXFLAGS = -O
2
MAKEINFOFLAGS = --no-split
all: all-dos
endif
MAKEINFOFLAGS = --no-split
all: all-dos
endif
@@
-217,21
+235,21
@@
endif
ifeq ($(canonhost),i386-lynx)
TARGETS = $(NATIVE)
ifeq ($(canonhost),i386-lynx)
TARGETS = $(NATIVE)
-CC = /bin/gcc
+CC = /
usr/cygnus/progressive/
bin/gcc
all: all-cygnus
SHELL=/bin/bash
endif
ifeq ($(canonhost),m68k-lynx)
TARGETS = $(NATIVE)
all: all-cygnus
SHELL=/bin/bash
endif
ifeq ($(canonhost),m68k-lynx)
TARGETS = $(NATIVE)
-CC = /bin/gcc
+CC = /
usr/cygnus/progressive/
bin/gcc
all: all-cygnus
SHELL=/bin/bash
endif
ifeq ($(canonhost),sparc-lynx)
TARGETS = $(NATIVE)
all: all-cygnus
SHELL=/bin/bash
endif
ifeq ($(canonhost),sparc-lynx)
TARGETS = $(NATIVE)
-CC = /bin/gcc
+CC = /
usr/cygnus/progressive/
bin/gcc
all: all-cygnus
SHELL=/bin/bash
endif
all: all-cygnus
SHELL=/bin/bash
endif
@@
-254,7
+272,7
@@
FLAGS_TO_PASS := \
"SHELL=$(SHELL)"
# set GNU_MAKE and CONFIG_SHELL correctly in sub-builds
"SHELL=$(SHELL)"
# set GNU_MAKE and CONFIG_SHELL correctly in sub-builds
-ifeq ($(patsubst %-lynx
os,lynxos,$(canonhost)),lynxos
)
+ifeq ($(patsubst %-lynx
,lynx,$(canonhost)),lynx
)
FLAGS_TO_PASS := $(FLAGS_TO_PASS) "GNU_MAKE=$(MAKE)" "CONFIG_SHELL=/bin/bash"
endif
FLAGS_TO_PASS := $(FLAGS_TO_PASS) "GNU_MAKE=$(MAKE)" "CONFIG_SHELL=/bin/bash"
endif
@@
-272,16
+290,16
@@
all-cygnus:
[ -d $(INSTALLDIR) ] || mkdir $(INSTALLDIR)
-rm -f $(ROOTING)/$(RELEASE_TAG) && ln -s $(INSTALLDIR) $(ROOTING)/$(RELEASE_TAG)
#
[ -d $(INSTALLDIR) ] || mkdir $(INSTALLDIR)
-rm -f $(ROOTING)/$(RELEASE_TAG) && ln -s $(INSTALLDIR) $(ROOTING)/$(RELEASE_TAG)
#
-#
The following line to be used during regular progressive builds
-#
to help developers test, but should be commented out for final
-#
progressive build.
+# The following line to be used during regular progressive builds
+# to help developers test, but should be commented out for final
+# progressive build.
#
#
-# -rm -f $(ROOTING)/progressive-beta && ln -s $(RELEASE_TAG) $(ROOTING)/progres
-sive-beta
+# -rm -f $(ROOTING)/progressive-beta && ln -s $(RELEASE_TAG) $(ROOTING)/progresssive
@for i in $(TARGETS) ; do \
if [ "$$i" = "native" ] ; then \
if [ ! -f $(canonhost)-stamp-3stage-done ] ; then \
echo "3staging $(canonhost) native" ; \
@for i in $(TARGETS) ; do \
if [ "$$i" = "native" ] ; then \
if [ ! -f $(canonhost)-stamp-3stage-done ] ; then \
echo "3staging $(canonhost) native" ; \
+ echo Flags passed to make: $(FLAGS_TO_PASS) ; \
$(MAKE) -f test-build.mk $(FLAGS_TO_PASS) $(canonhost)-stamp-3stage-done $(log) && \
echo " completed successfully" ; \
else \
$(MAKE) -f test-build.mk $(FLAGS_TO_PASS) $(canonhost)-stamp-3stage-done $(log) && \
echo " completed successfully" ; \
else \
This page took
0.025949 seconds
and
4
git commands to generate.