From: Alexandre Oliva Date: Wed, 27 May 2009 07:30:41 +0000 (+0000) Subject: * Makefile.tpl (all): Avoid harmless warning in make all when X-Git-Tag: sid-snapshot-20090901~819 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=c912928872cf4014fb5a223607144bbd5b57db79;p=pf3gnuchains%2Fpf3gnuchains4x.git * Makefile.tpl (all): Avoid harmless warning in make all when gcc-bootstrap is enabled but stage_last does not exist. * Makefile.in: Rebuilt. --- diff --git a/ChangeLog b/ChangeLog index 32dd8c4583..b91cfce043 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2009-05-27 Alexandre Oliva + + * 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 * setup.com: Complete the file with configuration and build. diff --git a/Makefile.in b/Makefile.in index 110f7d6965..aa34c89a04 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 bc7c415f09..e683ebcfb6 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