summaryrefslogtreecommitdiff
path: root/gcc/Makefile.in
diff options
context:
space:
mode:
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2002-06-19 19:00:09 +0000
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2002-06-19 19:00:09 +0000
commit85e1123a0b11cb17608e0c8ae17bd21577303ff5 (patch)
treef0506ce3b0ca9560b61dadea8b648244e0865bd8 /gcc/Makefile.in
parent60589e7b43394eb0084168bb568865afd4887da6 (diff)
downloadgcc-85e1123a0b11cb17608e0c8ae17bd21577303ff5.tar.gz
* Makefile.in (unstrap, restrap): New targets.
(bootstrap): Mention restrap. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54795 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/Makefile.in')
-rw-r--r--gcc/Makefile.in13
1 files changed, 12 insertions, 1 deletions
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index bba2c9bb7ac..46d42530b8f 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -3276,7 +3276,8 @@ bootstrap: stage3_build
@echo
@echo Bootstrap complete - make \"quickstrap\" to redo last build,
@echo \"restage1\" through \"restage3\" to rebuild specific stages,
- @echo or \"cleanstrap\" to redo the bootstrap from scratch.
+ @echo \"restrap\" to redo the bootstrap from stage1, or
+ @echo \"cleanstrap\" to redo the bootstrap from scratch.
bootstrap-lean : clean_s1 clean_s2 stage3_build
@echo
@@ -3345,6 +3346,16 @@ cleanstrap:
-$(MAKE) clean
$(MAKE) LANGUAGES="$(LANGUAGES)" bootstrap
+unstrap:
+ -rm -rf stage[234]*
+ $(MAKE) unstage1
+
+# Differs from cleanstrap in that it starts from the earlier stage1 build,
+# not from scratch.
+restrap:
+ $(MAKE) unstrap
+ $(MAKE) LANGUAGES="$(LANGUAGES)" bootstrap
+
# Compare the object files in the current directory with those in the
# stage2 directory.