aboutsummaryrefslogtreecommitdiff
path: root/build-all.mk
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1992-12-29 23:10:26 +0000
committerIan Lance Taylor <ian@airs.com>1992-12-29 23:10:26 +0000
commit21412832197f6a2b8fd3d3ded0f47362fab0ccb0 (patch)
treed5c661f2c4380a1990ebe36939087a651ce24fa0 /build-all.mk
parentcc29d6659be107d7774983fd22d1295682951a87 (diff)
downloadgdb-21412832197f6a2b8fd3d3ded0f47362fab0ccb0.zip
gdb-21412832197f6a2b8fd3d3ded0f47362fab0ccb0.tar.gz
gdb-21412832197f6a2b8fd3d3ded0f47362fab0ccb0.tar.bz2
Tue Dec 29 15:06:00 1992 Ian Lance Taylor (ian@cygnus.com)
* build-all.mk: If canonhost is i386-unknown-sco3.2v4, change it to i386-sco3.2v4. Set TARGETS and CFLAGS for i386-sco3.2v4. (all-cygnus, native, build-cygnus): Make $(canonhost)-stamp-3stage-done, not $(host).... * test-build.mk (stamp-3stage-compared): Use tail +10c for i386-sco3.2v4. Added else true to if command.
Diffstat (limited to 'build-all.mk')
-rw-r--r--build-all.mk15
1 files changed, 12 insertions, 3 deletions
diff --git a/build-all.mk b/build-all.mk
index 5cd5623..7511936 100644
--- a/build-all.mk
+++ b/build-all.mk
@@ -28,6 +28,9 @@ log = 1>$(canonhost)-build-log 2>&1
tlog = 1> $(canonhost)-x-$$i-build-log 2>&1
canonhost := $(shell $(TREE)/config.sub $(host))
+ifeq ($(canonhost),i386-unknown-sco3.2v4)
+canonhost := i386-sco3.2v4
+endif
ifeq ($(canonhost),sparc-sun-sunos4.1.1)
TARGETS = $(NATIVE) m68k-aout i386-aout a29k-amd-udi \
@@ -79,6 +82,12 @@ CFLAGS = -g
all: all-native
endif
+ifeq ($(canonhost),i386-sco3.2v4)
+TARGETS = $(NATIVE) i386-aout
+CFLAGS =
+all: all-cygnus
+endif
+
FLAGS_TO_PASS := \
"GCC=$(GCC)" \
"CFLAGS=$(CFLAGS)" \
@@ -93,7 +102,7 @@ all-cygnus:
if [ "$$i" = "native" ] ; then \
if [ ! -f $(canonhost)-3stage-done ] ; then \
echo "3staging $(canonhost) native" ; \
- $(MAKE) -f test-build.mk $(FLAGS_TO_PASS) $(host)-stamp-3stage-done $(log) && \
+ $(MAKE) -f test-build.mk $(FLAGS_TO_PASS) $(canonhost)-stamp-3stage-done $(log) && \
echo " completed successfully" ; \
fi \
else \
@@ -109,7 +118,7 @@ native:
[ -d $(INSTALLDIR) ] || mkdir $(INSTALLDIR)
rm -f /usr/cygnus/$(TAG)
ln -s $(INSTALLDIR) /usr/cygnus/$(TAG)
- $(MAKE) -f test-build.mk $(FLAGS_TO_PASS) $(host)-stamp-3stage-done $(log)
+ $(MAKE) -f test-build.mk $(FLAGS_TO_PASS) $(canonhost)-stamp-3stage-done $(log)
@echo done at `date`
build-cygnus:
@@ -118,7 +127,7 @@ build-cygnus:
if [ "$$i" = "native" ] ; then \
if [ ! -f $(canonhost)-3stage-done ] ; then \
echo "3staging $(canonhost) native" ; \
- $(MAKE) -f test-build.mk $(FLAGS_TO_PASS) $(host)-stamp-3stage-done $(log) && \
+ $(MAKE) -f test-build.mk $(FLAGS_TO_PASS) $(canonhost)-stamp-3stage-done $(log) && \
echo " completed successfully" ; \
fi \
else \