aboutsummaryrefslogtreecommitdiff
path: root/Makefile.def
diff options
context:
space:
mode:
authorPaolo Bonzini <bonzini@gnu.org>2004-06-09 08:17:32 +0000
committerPaolo Bonzini <bonzini@gcc.gnu.org>2004-06-09 08:17:32 +0000
commitad6717df263c91ddaf139f0bed1578d2fd932744 (patch)
treead5cba7a7ccbcec086b8878b6a20cc98c4c8e81f /Makefile.def
parent92efec6ec51ced8c2e2ac5c222645f6757592f32 (diff)
downloadgcc-ad6717df263c91ddaf139f0bed1578d2fd932744.zip
gcc-ad6717df263c91ddaf139f0bed1578d2fd932744.tar.gz
gcc-ad6717df263c91ddaf139f0bed1578d2fd932744.tar.bz2
Makefile.tpl (touch-stage[+id+]): New.
2004-06-09 Paolo Bonzini <bonzini@gnu.org> * Makefile.tpl (touch-stage[+id+]): New. (restage[+prev+]): Depend on touch-stage[+id+]. * Makefile.tpl (RECURSE_FLAGS_TO_PASS): New. Use it throughout. * Makefile.def: Add profile and feedback bootstrap stages. Remove next field from bootstrap stages. * Makefile.tpl (LN, LN_S): Substitute. (stageN-start, stageN-end): Use double-colon rules, to provide a hook for additional setup commands. (distclean-stageN-gcc, restageN): Create dependencies from [+prev+], not from [+next+]. (stageN-bubble): Add commands for successive stages from [+prev+], using double-colon rules. (all-stageN-gcc): Fix typo. (stagefeedback-start, profiledbootstrap): New. * Makefile.in: Regenerate. * configure.in: Call ACX_PROG_LN. * configure: Regenerate. config/ChangeLog: 2004-06-09 Paolo Bonzini <bonzini@gnu.org> * acx.m4 (ACX_PROG_LN): From gcc, modified to accept a parameter. gcc/ChangeLog: 2004-06-09 Paolo Bonzini <bonzini@gnu.org> * aclocal.m4 (gcc_AC_PROG_LN): Remove. (gcc_AC_CHECK_DECLS): Use AH_TEMPLATE to generate config.in entries. * configure.ac: Call ACX_PROG_LN, falling back to $LN_S if hard links are not available. * configure: Regenerate. * config.in: Regenerate. From-SVN: r82816
Diffstat (limited to 'Makefile.def')
-rw-r--r--Makefile.def20
1 files changed, 14 insertions, 6 deletions
diff --git a/Makefile.def b/Makefile.def
index c14e327..b394138 100644
--- a/Makefile.def
+++ b/Makefile.def
@@ -216,25 +216,33 @@ flags_to_pass = { flag= WINDRES_FOR_TARGET ; };
// Toplevel bootstrap
bootstrap_stage = {
- id=1 ; next=2 ;
+ id=1 ;
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 ;
+ id=2 ; prev=1 ;
bootstrap_target=bootstrap2 ;
extra_configure_flags="@stage2_werror_flag@" ;
- extra_make_flags="$(POSTSTAGE1_FLAGS_TO_PASS)" ; };
+ extra_make_flags="" ; };
bootstrap_stage = {
- id=3 ; prev=2 ; next=4 ;
+ id=3 ; prev=2 ;
compare_target=compare ;
bootstrap_target=bootstrap ;
cleanstrap_target=cleanstrap ;
extra_configure_flags="@stage2_werror_flag@" ;
- extra_make_flags="$(POSTSTAGE1_FLAGS_TO_PASS)" ; };
+ extra_make_flags="" ; };
bootstrap_stage = {
id=4 ; prev=3 ;
compare_target=compare3 ;
bootstrap_target=bootstrap4 ;
extra_configure_flags="@stage2_werror_flag@" ;
- extra_make_flags="$(POSTSTAGE1_FLAGS_TO_PASS)" ; };
+ extra_make_flags="" ; };
+bootstrap_stage = {
+ id=profile ; prev=1 ;
+ extra_configure_flags="@stage2_werror_flag@" ;
+ extra_make_flags='CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"' ; };
+bootstrap_stage = {
+ id=feedback ; prev=1 ;
+ extra_configure_flags="@stage2_werror_flag@" ;
+ extra_make_flags='CFLAGS="$(BOOT_CFLAGS) -fprofile-use"' ; };