mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-02-02 06:54:54 +00:00
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.
This commit is contained in:
parent
cc29d6659b
commit
2141283219
@ -1,3 +1,12 @@
|
|||||||
|
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.
|
||||||
|
|
||||||
Mon Dec 28 12:08:56 1992 Ken Raeburn (raeburn@cygnus.com)
|
Mon Dec 28 12:08:56 1992 Ken Raeburn (raeburn@cygnus.com)
|
||||||
|
|
||||||
* config.sub: (from FSF) Sequent uses a BSD-like OS.
|
* config.sub: (from FSF) Sequent uses a BSD-like OS.
|
||||||
|
15
build-all.mk
15
build-all.mk
@ -28,6 +28,9 @@ log = 1>$(canonhost)-build-log 2>&1
|
|||||||
tlog = 1> $(canonhost)-x-$$i-build-log 2>&1
|
tlog = 1> $(canonhost)-x-$$i-build-log 2>&1
|
||||||
|
|
||||||
canonhost := $(shell $(TREE)/config.sub $(host))
|
canonhost := $(shell $(TREE)/config.sub $(host))
|
||||||
|
ifeq ($(canonhost),i386-unknown-sco3.2v4)
|
||||||
|
canonhost := i386-sco3.2v4
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(canonhost),sparc-sun-sunos4.1.1)
|
ifeq ($(canonhost),sparc-sun-sunos4.1.1)
|
||||||
TARGETS = $(NATIVE) m68k-aout i386-aout a29k-amd-udi \
|
TARGETS = $(NATIVE) m68k-aout i386-aout a29k-amd-udi \
|
||||||
@ -79,6 +82,12 @@ CFLAGS = -g
|
|||||||
all: all-native
|
all: all-native
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(canonhost),i386-sco3.2v4)
|
||||||
|
TARGETS = $(NATIVE) i386-aout
|
||||||
|
CFLAGS =
|
||||||
|
all: all-cygnus
|
||||||
|
endif
|
||||||
|
|
||||||
FLAGS_TO_PASS := \
|
FLAGS_TO_PASS := \
|
||||||
"GCC=$(GCC)" \
|
"GCC=$(GCC)" \
|
||||||
"CFLAGS=$(CFLAGS)" \
|
"CFLAGS=$(CFLAGS)" \
|
||||||
@ -93,7 +102,7 @@ all-cygnus:
|
|||||||
if [ "$$i" = "native" ] ; then \
|
if [ "$$i" = "native" ] ; then \
|
||||||
if [ ! -f $(canonhost)-3stage-done ] ; then \
|
if [ ! -f $(canonhost)-3stage-done ] ; then \
|
||||||
echo "3staging $(canonhost) native" ; \
|
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" ; \
|
echo " completed successfully" ; \
|
||||||
fi \
|
fi \
|
||||||
else \
|
else \
|
||||||
@ -109,7 +118,7 @@ native:
|
|||||||
[ -d $(INSTALLDIR) ] || mkdir $(INSTALLDIR)
|
[ -d $(INSTALLDIR) ] || mkdir $(INSTALLDIR)
|
||||||
rm -f /usr/cygnus/$(TAG)
|
rm -f /usr/cygnus/$(TAG)
|
||||||
ln -s $(INSTALLDIR) /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`
|
@echo done at `date`
|
||||||
|
|
||||||
build-cygnus:
|
build-cygnus:
|
||||||
@ -118,7 +127,7 @@ build-cygnus:
|
|||||||
if [ "$$i" = "native" ] ; then \
|
if [ "$$i" = "native" ] ; then \
|
||||||
if [ ! -f $(canonhost)-3stage-done ] ; then \
|
if [ ! -f $(canonhost)-3stage-done ] ; then \
|
||||||
echo "3staging $(canonhost) native" ; \
|
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" ; \
|
echo " completed successfully" ; \
|
||||||
fi \
|
fi \
|
||||||
else \
|
else \
|
||||||
|
@ -477,7 +477,7 @@ $(host)-stamp-holes:
|
|||||||
found= ; \
|
found= ; \
|
||||||
for j in $(HOLE_DIRS) ; do \
|
for j in $(HOLE_DIRS) ; do \
|
||||||
if [ -x $$j/$$i ] ; then \
|
if [ -x $$j/$$i ] ; then \
|
||||||
cp $$j/$$i $(HOLESDIR) ; \
|
ln -s $$j/$$i $(HOLESDIR) || cp $$j/$$i $(HOLESDIR) ; \
|
||||||
echo $$i from $$j ; \
|
echo $$i from $$j ; \
|
||||||
found=t ; \
|
found=t ; \
|
||||||
break ; \
|
break ; \
|
||||||
@ -511,7 +511,7 @@ comparison: $(host)-stamp-3stage-compared
|
|||||||
|
|
||||||
$(host)-stamp-3stage-compared:
|
$(host)-stamp-3stage-compared:
|
||||||
rm -f .bad-compare
|
rm -f .bad-compare
|
||||||
ifeq ($(subst rs6000-ibm-aix,mips-sgi-irix4,$(subst mips-dec-ultrix,mips-sgi-irix4,$(host))),mips-sgi-irix4)
|
ifeq ($(subst i386-sco3.2v4,mips-sgi-irix4,$(subst rs6000-ibm-aix,mips-sgi-irix4,$(subst mips-dec-ultrix,mips-sgi-irix4,$(host)))),mips-sgi-irix4)
|
||||||
for i in `cd $(STAGE3DIR) ; find . -name \*.o -print` ; do \
|
for i in `cd $(STAGE3DIR) ; find . -name \*.o -print` ; do \
|
||||||
tail +10c $(STAGE2DIR)/$$i > foo1 ; \
|
tail +10c $(STAGE2DIR)/$$i > foo1 ; \
|
||||||
tail +10c $(STAGE3DIR)/$$i > foo2 ; \
|
tail +10c $(STAGE3DIR)/$$i > foo2 ; \
|
||||||
@ -537,6 +537,7 @@ endif
|
|||||||
else \
|
else \
|
||||||
rm -rf $(STAGE1DIR) $(STAGE2DIR) ; \
|
rm -rf $(STAGE1DIR) $(STAGE2DIR) ; \
|
||||||
fi ; \
|
fi ; \
|
||||||
|
else true ; \
|
||||||
fi ; \
|
fi ; \
|
||||||
fi
|
fi
|
||||||
touch $@
|
touch $@
|
||||||
|
Loading…
x
Reference in New Issue
Block a user