]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Makefile.in (unstrap, restrap): New targets.
authorJason Merrill <jason@redhat.com>
Wed, 19 Jun 2002 19:00:09 +0000 (15:00 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 19 Jun 2002 19:00:09 +0000 (15:00 -0400)
        * Makefile.in (unstrap, restrap): New targets.
        (bootstrap): Mention restrap.

From-SVN: r54795

gcc/ChangeLog
gcc/Makefile.in

index 53734cad6838985f98b6e3b383837ad780dbb88a..e9c8968502ffcca045b20f5de271a60c552ac661 100644 (file)
@@ -1,3 +1,8 @@
+2002-06-19  Jason Merrill  <jason@redhat.com>
+
+       * Makefile.in (unstrap, restrap): New targets.
+       (bootstrap): Mention restrap.
+
 2002-06-19  Ian Dall  <ian@sibyl.beware.dropbear.id.au>
 
        * config/ns32k/ns32k.md: Give "*xxx" names to all unnamed insn's.
index bba2c9bb7ac101d2ba93e864363fc772fd2604e3..46d42530b8fb7ad842ed78e03ff960931e86531c 100644 (file)
@@ -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.