< prev index next >

make/Init.gmk

Print this page

        

@@ -236,15 +236,17 @@
   endif
 
   ifeq ($(LOG_NOFILE), true)
     # Disable build log if LOG=[level,]nofile was given
     override BUILD_LOG_PIPE :=
+    override BUILD_LOG_PIPE_SIMPLE :=
   endif
 
   ifeq ($(filter dist-clean, $(SEQUENTIAL_TARGETS)), dist-clean)
     # We can't have a log file if we're about to remove it.
     override BUILD_LOG_PIPE :=
+    override BUILD_LOG_PIPE_SIMPLE :=
   endif
 
   ifeq ($(OUTPUT_SYNC_SUPPORTED), true)
     OUTPUT_SYNC_FLAG := -O$(OUTPUT_SYNC)
   endif

@@ -301,11 +303,11 @@
   main: MAKEOVERRIDES :=
 
   main: $(INIT_TARGETS)
         ifneq ($(SEQUENTIAL_TARGETS)$(PARALLEL_TARGETS), )
           $(call RotateLogFiles)
-          $(PRINTF) "Building $(TARGET_DESCRIPTION)\n" $(BUILD_LOG_PIPE)
+          $(PRINTF) "Building $(TARGET_DESCRIPTION)\n" $(BUILD_LOG_PIPE_SIMPLE)
           ifneq ($(SEQUENTIAL_TARGETS), )
             # Don't touch build output dir since we might be cleaning. That
             # means no log pipe.
             ( cd $(TOPDIR) && \
                 $(MAKE) $(MAKE_ARGS) -j 1 -f make/Main.gmk $(USER_MAKE_VARS) \

@@ -323,22 +325,22 @@
                     $(if $(JOBS), -j $(JOBS)) \
                     -f make/Main.gmk $(USER_MAKE_VARS) \
                     $(PARALLEL_TARGETS) $(COMPARE_BUILD_MAKE) $(BUILD_LOG_PIPE) || \
                 ( exitcode=$$? && \
                 $(PRINTF) "\nERROR: Build failed for $(TARGET_DESCRIPTION) (exit code $$exitcode) \n" \
-                    $(BUILD_LOG_PIPE) && \
+                    $(BUILD_LOG_PIPE_SIMPLE) && \
                 cd $(TOPDIR) && $(MAKE) $(MAKE_ARGS) -j 1 -f make/Init.gmk \
                     HAS_SPEC=true on-failure ; \
                 exit $$exitcode ) )
             $(call CleanupSmartJavac)
             $(call StopGlobalTimer)
             $(call ReportBuildTimes)
           endif
           if test -f $(MAKESUPPORT_OUTPUTDIR)/exit-with-error ; then \
             exit 1 ; \
           fi
-          $(PRINTF) "Finished building $(TARGET_DESCRIPTION)\n" $(BUILD_LOG_PIPE)
+          $(PRINTF) "Finished building $(TARGET_DESCRIPTION)\n" $(BUILD_LOG_PIPE_SIMPLE)
           $(call ReportProfileTimes)
         endif
 
     on-failure:
         $(call CleanupSmartJavac)
< prev index next >