2009-05-27 Doug Kwan <dougkwan@google.com>
[deliverable/binutils-gdb.git] / Makefile.tpl
index f201ad1566fdd02f2680bc65d423e3513d49937d..e683ebcfb66bb7f2347b21a53ac2809424ed3611 100644 (file)
@@ -620,16 +620,16 @@ all:
        @r=`${PWD_COMMAND}`; export r; \
        s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
 @if gcc-bootstrap
-       if [ -f stage_last ]; then : ; \
-         TFLAGS="$(STAGE$(shell sed s,^stage,, stage_last)_TFLAGS)"; \
+       if [ -f stage_last ]; then \
+         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
-         $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host all-target; \
+         $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host all-target \
 @if gcc-bootstrap
-       fi; \
+           ; \
+       fi
 @endif gcc-bootstrap
-       :
 
 .PHONY: all-build
 [+ FOR build_modules +]
This page took 0.070058 seconds and 4 git commands to generate.