diff options
Diffstat (limited to 'Makefile.tpl')
-rw-r--r-- | Makefile.tpl | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/Makefile.tpl b/Makefile.tpl index f54300394..e683ebcfb 100644 --- a/Makefile.tpl +++ b/Makefile.tpl @@ -628,9 +628,8 @@ all: $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host all-target \ @if gcc-bootstrap ; \ - fi \ + fi @endif gcc-bootstrap - && : .PHONY: all-build [+ FOR build_modules +] @@ -1427,16 +1426,15 @@ do-clean: clean-stage[+id+] : $(MAKE); $(stage); \ rm -f .bad_compare ; \ echo Comparing stages [+prev+] and [+id+] ; \ - sed=`echo stage[+id+] | sed 's,^stage,,;s,.,.,g'`; \ - files=`find stage[+id+]-* -name "*$(objext)" -print | \ - sed -n s,^stage$$sed-,,p` ; \ + cd stage[+id+]-gcc; \ + files=`find . -name "*$(objext)" -print` ; \ + cd .. ; \ for file in $${files} ; do \ - f1=$$r/stage[+prev+]-$$file; f2=$$r/stage[+id+]-$$file; \ - if test ! -f $$f1; then continue; fi; \ + f1=$$r/stage[+prev+]-gcc/$$file; f2=$$r/stage[+id+]-gcc/$$file; \ $(do-[+compare-target+]) > /dev/null 2>&1; \ if test $$? -eq 1; then \ case $$file in \ - gcc/cc*-checksum$(objext) | ./libgcc/* | ./gcc/ada/*tools/*) \ + ./cc*-checksum$(objext) | ./libgcc/* ) \ echo warning: $$file differs ;; \ *) \ echo $$file differs >> .bad_compare ;; \ |