X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=Makefile.tpl;h=e683ebcfb66bb7f2347b21a53ac2809424ed3611;hb=06652544422051789ceaad4f6989591cb10eda1e;hp=f201ad1566fdd02f2680bc65d423e3513d49937d;hpb=1b05fbbd2c03bb2c042be654aa2378bbfd2f845a;p=deliverable%2Fbinutils-gdb.git diff --git a/Makefile.tpl b/Makefile.tpl index f201ad1566..e683ebcfb6 100644 --- a/Makefile.tpl +++ b/Makefile.tpl @@ -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 +]