* Makefile.tpl (all): Avoid harmless warning in make all when
[deliverable/binutils-gdb.git] / Makefile.tpl
index d4b2f0314b7b5febe0732e466f35cd0636b17ebe..e683ebcfb66bb7f2347b21a53ac2809424ed3611 100644 (file)
@@ -621,15 +621,15 @@ 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
-@if gcc-no-bootstrap
-       if :; then :; \
-@endif gcc-no-bootstrap
-         $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host all-target; \
+         $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host all-target \
+@if gcc-bootstrap
+           ; \
        fi
+@endif gcc-bootstrap
 
 .PHONY: all-build
 [+ FOR build_modules +]
This page took 0.030996 seconds and 4 git commands to generate.