summaryrefslogtreecommitdiffstats
path: root/Makefile.def
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2004-05-24 11:08:48 +0000
committerPaolo Bonzini <pbonzini@redhat.com>2004-05-24 11:08:48 +0000
commit352694210fa1faad428bf41ef27a018c4daa0dfc (patch)
tree5ffb99a7f35b118de261dc004809cc1dc251818e /Makefile.def
parentc580d51621dc3fee84db019342cc973f0f3e542c (diff)
downloadcygnal-352694210fa1faad428bf41ef27a018c4daa0dfc.tar.gz
cygnal-352694210fa1faad428bf41ef27a018c4daa0dfc.tar.bz2
cygnal-352694210fa1faad428bf41ef27a018c4daa0dfc.zip
2005-05-24 Paolo Bonzini <bonzini@gnu.org>
* configure.in: Test the ability to symlink directories. * configure: Regenerate. * Makefile.def (bootstrap-stage): New definitions. * Makefile.tpl (configure-stage1-gcc, configure-stage2-gcc, configure-stage3-gcc, all-stage1-gcc, all-stage2-gcc, all-stage3-gcc, new-bootstrap, new-cleanstrap, new-restage1, new-restage2, new-restage3, compare): Autogenerate, see Makefile.in entry for behavioral changes. (distclean-stage1, new-stage1-start, new-stage1-end, new-stage1-bubble, distclean-stage2, new-stage2-start, new-stage2-end, new-stage2-bubble, distclean-stage3, new-stage3-start, new-stage3-end): New autogenerated targets. (objext, prebootstrap, BOOT_CFLAGS, POSTSTAGE1_FLAGS_TO_PASS): Move above the autogenerated targets. * Makefile.in: Regenerate. (distclean-stage1, new-stage1-start, new-stage1-end, new-stage1-bubble, distclean-stage2, new-stage2-start, new-stage2-end, new-stage2-bubble, distclean-stage3, new-stage3-start, new-stage3-end): New targets. (all-stage1-gcc): Move prebootstrap dependency from here... (configure-stage1-gcc): ...to here. (new-bootstrap): Use bubble targets. (new-cleanstrap, new-restage1, new-restage2, new-restage3): Use per-stage distclean targets. (configure-stage1-gcc, configure-stage2-gcc, configure-stage3-gcc, all-stage1-gcc, all-stage2-gcc, all-stage3-gcc, new-bootstrap): Use new-stageN-start to prepare the tree.
Diffstat (limited to 'Makefile.def')
-rw-r--r--Makefile.def18
1 files changed, 18 insertions, 0 deletions
diff --git a/Makefile.def b/Makefile.def
index 788d3b041..9c425963f 100644
--- a/Makefile.def
+++ b/Makefile.def
@@ -213,3 +213,21 @@ flags_to_pass = { flag= LIBCXXFLAGS_FOR_TARGET ; };
flags_to_pass = { flag= NM_FOR_TARGET ; };
flags_to_pass = { flag= RANLIB_FOR_TARGET ; };
flags_to_pass = { flag= WINDRES_FOR_TARGET ; };
+
+// Toplevel bootstrap
+bootstrap_stage = {
+ id=1 ; next=2 ;
+ extra_configure_flags='--disable-intermodule \
+ --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"' ;
+ extra_make_flags='CFLAGS="$(STAGE1_CFLAGS)"' ; };
+bootstrap_stage = {
+ id=2 ; prev=1 ; next=3 ;
+ extra_configure_flags="@stage2_werror_flag@" ;
+ extra_make_flags="$(POSTSTAGE1_FLAGS_TO_PASS)" ; };
+bootstrap_stage = {
+ id=3 ; prev=2 ;
+ compare_target=compare ;
+ bootstrap_target=new-bootstrap ;
+ cleanstrap_target=new-cleanstrap ;
+ extra_configure_flags="@stage2_werror_flag@" ;
+ extra_make_flags="$(POSTSTAGE1_FLAGS_TO_PASS)" ; };