summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2002-12-17 05:10:23 +0000
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2002-12-17 05:10:23 +0000
commitf7c8fc8ef47cf480cd8c841c296a3862bb671952 (patch)
tree2c50d17cc140d737dd0e557e5167d873d9d04af0
parent4bcd80235d4eb19bd428d423e4f88703d7c00e2e (diff)
downloadppe42-gcc-f7c8fc8ef47cf480cd8c841c296a3862bb671952.tar.gz
ppe42-gcc-f7c8fc8ef47cf480cd8c841c296a3862bb671952.zip
* Makefile.tpl (all-gcc): Use 'make quickstrap' if there was a
previous 'make bootstrap'. * Makefile.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60193 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--ChangeLog6
-rw-r--r--Makefile.in11
-rw-r--r--Makefile.tpl11
3 files changed, 20 insertions, 8 deletions
diff --git a/ChangeLog b/ChangeLog
index 42a08984582..81b1f36dcd5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2002-12-16 Jason Merrill <jason@redhat.com>
+
+ * Makefile.tpl (all-gcc): Use 'make quickstrap' if there was a
+ previous 'make bootstrap'.
+ * Makefile.in: Regenerate.
+
2002-12-17 Hans-Peter Nilsson <hp@bitrange.com>
* configure.in (noconfigdirs) [mmix-*-*]: Disable libgloss and gdb.
diff --git a/Makefile.in b/Makefile.in
index f7c38950f12..881c9256205 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -7460,14 +7460,17 @@ gcc/Makefile: config.status
$(HOST_CONFIGARGS) $${srcdiroption} \
|| exit 1
-# Don't remake gcc if it's already been made by 'bootstrap'; that causes
-# nothing but trouble. This wart will be fixed eventually by moving
+# Don't 'make all' in gcc if it's already been made by 'bootstrap'; that
+# causes trouble. This wart will be fixed eventually by moving
# the bootstrap behavior to this file.
.PHONY: all-gcc maybe-all-gcc
maybe-all-gcc:
all-gcc: configure-gcc
- @if [ -f gcc/xgcc ] ; then \
- exit 0 ; \
+ @if [ -f gcc/stage_last ] ; then \
+ r=`${PWD}`; export r; \
+ s=`cd $(srcdir); ${PWD}`; export s; \
+ $(SET_LIB_PATH) \
+ (cd gcc; $(MAKE) $(GCC_FLAGS_TO_PASS) quickstrap); \
else \
r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
diff --git a/Makefile.tpl b/Makefile.tpl
index 9f64035a380..b2f7442576d 100644
--- a/Makefile.tpl
+++ b/Makefile.tpl
@@ -1134,14 +1134,17 @@ gcc/Makefile: config.status
$(HOST_CONFIGARGS) $${srcdiroption} \
|| exit 1
-# Don't remake gcc if it's already been made by 'bootstrap'; that causes
-# nothing but trouble. This wart will be fixed eventually by moving
+# Don't 'make all' in gcc if it's already been made by 'bootstrap'; that
+# causes trouble. This wart will be fixed eventually by moving
# the bootstrap behavior to this file.
.PHONY: all-gcc maybe-all-gcc
maybe-all-gcc:
all-gcc: configure-gcc
- @if [ -f gcc/xgcc ] ; then \
- exit 0 ; \
+ @if [ -f gcc/stage_last ] ; then \
+ r=`${PWD}`; export r; \
+ s=`cd $(srcdir); ${PWD}`; export s; \
+ $(SET_LIB_PATH) \
+ (cd gcc; $(MAKE) $(GCC_FLAGS_TO_PASS) quickstrap); \
else \
r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
OpenPOWER on IntegriCloud