diff options
author | Alexandre Oliva <aoliva@redhat.com> | 2009-05-27 07:30:42 +0000 |
---|---|---|
committer | Alexandre Oliva <aoliva@redhat.com> | 2009-05-27 07:30:42 +0000 |
commit | 07fc31c9c913c27ac64af66c32689db4a63827e2 (patch) | |
tree | 38957877e117465b95184ea4a57aaa6a8e729dbe | |
parent | 2f3565a392130b00755a9dda411f9ac7d0255686 (diff) | |
download | gdb-07fc31c9c913c27ac64af66c32689db4a63827e2.zip gdb-07fc31c9c913c27ac64af66c32689db4a63827e2.tar.gz gdb-07fc31c9c913c27ac64af66c32689db4a63827e2.tar.bz2 |
* Makefile.tpl (all): Avoid harmless warning in make all when
gcc-bootstrap is enabled but stage_last does not exist.
* Makefile.in: Rebuilt.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | Makefile.in | 2 | ||||
-rw-r--r-- | Makefile.tpl | 2 |
3 files changed, 8 insertions, 2 deletions
@@ -1,3 +1,9 @@ +2009-05-27 Alexandre Oliva <aoliva@redhat.com> + + * Makefile.tpl (all): Avoid harmless warning in make all when + gcc-bootstrap is enabled but stage_last does not exist. + * Makefile.in: Rebuilt. + 2009-05-25 Tristan Gingold <gingold@adacore.com> * setup.com: Complete the file with configuration and build. diff --git a/Makefile.in b/Makefile.in index 110f7d6..aa34c89 100644 --- a/Makefile.in +++ b/Makefile.in @@ -855,7 +855,7 @@ all: s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @if gcc-bootstrap if [ -f stage_last ]; then \ - TFLAGS="$(STAGE$(shell sed s,^stage,, stage_last)_TFLAGS)"; \ + TFLAGS="$(STAGE$(shell test ! -f stage_last || sed s,^stage,, stage_last)_TFLAGS)"; \ $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target; \ else \ @endif gcc-bootstrap diff --git a/Makefile.tpl b/Makefile.tpl index bc7c415..e683ebc 100644 --- a/Makefile.tpl +++ b/Makefile.tpl @@ -621,7 +621,7 @@ all: s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @if gcc-bootstrap if [ -f stage_last ]; then \ - TFLAGS="$(STAGE$(shell sed s,^stage,, stage_last)_TFLAGS)"; \ + TFLAGS="$(STAGE$(shell test ! -f stage_last || sed s,^stage,, stage_last)_TFLAGS)"; \ $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target; \ else \ @endif gcc-bootstrap |