summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2009-06-02 08:23:45 +0000
committerAlexandre Oliva <aoliva@redhat.com>2009-06-02 08:23:45 +0000
commitbe5e07d2756601a370783e92bfddbfc867b3a06f (patch)
tree6e15563ef33a75014c12407c937599e8609bb26f /Makefile.in
parente9053947af2724d1fefe1afde616f7abe90fae8c (diff)
downloadbinutils-redhat-be5e07d2756601a370783e92bfddbfc867b3a06f.tar.gz
* Makefile.tpl ([+compare-target+]): Compare all stage
directories, rather than just gcc. * Makefile.in: Rebuilt.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in22
1 files changed, 12 insertions, 10 deletions
diff --git a/Makefile.in b/Makefile.in
index aa34c89a04..6546a331b6 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -52210,15 +52210,16 @@ compare:
: $(MAKE); $(stage); \
rm -f .bad_compare ; \
echo Comparing stages 2 and 3 ; \
- cd stage3-gcc; \
- files=`find . -name "*$(objext)" -print` ; \
- cd .. ; \
+ sed=`echo stage3 | sed 's,^stage,,;s,.,.,g'`; \
+ files=`find stage3-* -name "*$(objext)" -print | \
+ sed -n s,^stage$$sed-,,p` ; \
for file in $${files} ; do \
- f1=$$r/stage2-gcc/$$file; f2=$$r/stage3-gcc/$$file; \
+ f1=$$r/stage2-$$file; f2=$$r/stage3-$$file; \
+ if test ! -f $$f1; then continue; fi; \
$(do-compare) > /dev/null 2>&1; \
if test $$? -eq 1; then \
case $$file in \
- ./cc*-checksum$(objext) | ./libgcc/* ) \
+ gcc/cc*-checksum$(objext) | ./libgcc/* | ./gcc/ada/*tools/*) \
echo warning: $$file differs ;; \
*) \
echo $$file differs >> .bad_compare ;; \
@@ -52535,15 +52536,16 @@ compare3:
: $(MAKE); $(stage); \
rm -f .bad_compare ; \
echo Comparing stages 3 and 4 ; \
- cd stage4-gcc; \
- files=`find . -name "*$(objext)" -print` ; \
- cd .. ; \
+ sed=`echo stage4 | sed 's,^stage,,;s,.,.,g'`; \
+ files=`find stage4-* -name "*$(objext)" -print | \
+ sed -n s,^stage$$sed-,,p` ; \
for file in $${files} ; do \
- f1=$$r/stage3-gcc/$$file; f2=$$r/stage4-gcc/$$file; \
+ f1=$$r/stage3-$$file; f2=$$r/stage4-$$file; \
+ if test ! -f $$f1; then continue; fi; \
$(do-compare3) > /dev/null 2>&1; \
if test $$? -eq 1; then \
case $$file in \
- ./cc*-checksum$(objext) | ./libgcc/* ) \
+ gcc/cc*-checksum$(objext) | ./libgcc/* | ./gcc/ada/*tools/*) \
echo warning: $$file differs ;; \
*) \
echo $$file differs >> .bad_compare ;; \