diff options
author | DJ Delorie <dj@delorie.com> | 2006-11-14 23:26:39 +0000 |
---|---|---|
committer | DJ Delorie <dj@delorie.com> | 2006-11-14 23:26:39 +0000 |
commit | 8b1d3cdbcdac4138eb4545595915b2acf918d87c (patch) | |
tree | a4cba1c5484ace20b65471570ffc1d1f9c4f319e /Makefile.tpl | |
parent | 9afa02b25ddae77c7aae1450b4a0fbb9b47b510e (diff) | |
download | binutils-redhat-8b1d3cdbcdac4138eb4545595915b2acf918d87c.tar.gz |
* Makefile.tpl (clean-stage*): Sync with GCC (clean).insight_6_6-20070208-releasegdb_6_6-2006-12-18-releasegdb_6_6-2006-11-15-branchpointgdb_6_6-branch
* Makefile.in: Sync with GCC.
* configure.in: Sync with GCC (mpfr, gmp).
* configure: Sync with GCC.
Diffstat (limited to 'Makefile.tpl')
-rw-r--r-- | Makefile.tpl | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Makefile.tpl b/Makefile.tpl index 045c6db6c5..5ce38abd85 100644 --- a/Makefile.tpl +++ b/Makefile.tpl @@ -854,9 +854,12 @@ all-stage[+id+]-[+prefix+][+module+]: configure-stage[+id+]-[+prefix+][+module+] maybe-clean-stage[+id+]-[+prefix+][+module+]: clean-stage[+id+]-[+prefix+][+module+] clean-stage[+id+]: clean-stage[+id+]-[+prefix+][+module+] clean-stage[+id+]-[+prefix+][+module+]: - @[ -f [+subdir+]/[+module+]/Makefile ] || [ -f [+subdir+]/stage[+id+]-[+module+]/Makefile ] \ - || exit 0 ; \ - [ $(current_stage) = stage[+id+] ] || $(MAKE) stage[+id+]-start; \ + @if [ $(current_stage) = stage[+id+] ]; then \ + [ -f [+subdir+]/[+module+]/Makefile ] || exit 0; \ + else \ + [ -f [+subdir+]/stage[+id+]-[+module+]/Makefile ] || exit 0; \ + $(MAKE) stage[+id+]-start; \ + fi; \ cd [+subdir+]/[+module+] && \ $(MAKE) [+args+] [+ IF prev +] \ [+poststage1_args+] [+ ENDIF prev +] \ |