aboutsummaryrefslogtreecommitdiff
path: root/Makefile.tpl
diff options
context:
space:
mode:
authorBen Elliston <bje@au.ibm.com>2005-11-29 12:31:26 +0000
committerBen Elliston <bje@au.ibm.com>2005-11-29 12:31:26 +0000
commit9e34552dedc11469f4a433fb9cbb0319405d6c69 (patch)
tree500eb93ddd4927a614067b6fab5ab323a23de95c /Makefile.tpl
parent5784f699822f5f3f11b2eb4a954f6dfc9fd4ed90 (diff)
* Makefile.tpl (clean-target-libgcc): Invoke clean-target-libgcc
from the gcc build directory. * Makefile.in: Regenerate. gcc/ * Makefile.in (clean-target): Depend on clean-target-libgcc. (clean-target-libgcc): Import rule from the top-level Makefile.in. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@107668 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'Makefile.tpl')
-rw-r--r--Makefile.tpl8
1 files changed, 2 insertions, 6 deletions
diff --git a/Makefile.tpl b/Makefile.tpl
index c99ba5b5494..4f38d6c5de4 100644
--- a/Makefile.tpl
+++ b/Makefile.tpl
@@ -839,14 +839,10 @@ maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
maintainer-clean: local-distclean
realclean: maintainer-clean
-# Extra dependency for clean-target, owing to the mixed nature of gcc
+# Extra dependency for clean-target, owing to the mixed nature of gcc.
clean-target: clean-target-libgcc
clean-target-libgcc:
- test ! -d gcc/libgcc || \
- (cd gcc/libgcc && find . -type d -print) | \
- while read d; do rm -f gcc/$$d/libgcc.a || : ; done
- -rm -rf gcc/libgcc
- -rm -f gcc/stmp-dirs
+ test ! -d gcc || (cd gcc && $(MAKE) $@)
# Check target.