equal
deleted
inserted
replaced
454 $(RM) $(BUILD_PROFILE_LOG).old 2> /dev/null && \ |
454 $(RM) $(BUILD_PROFILE_LOG).old 2> /dev/null && \ |
455 $(MV) $(BUILD_PROFILE_LOG) $(BUILD_PROFILE_LOG).old 2> /dev/null || true \ |
455 $(MV) $(BUILD_PROFILE_LOG) $(BUILD_PROFILE_LOG).old 2> /dev/null || true \ |
456 ) |
456 ) |
457 endef |
457 endef |
458 |
458 |
|
459 # Failure logs are only supported for "parallel" main targets, not the |
|
460 # (trivial) sequential make targets (such as clean and reconfigure), |
|
461 # since the failure-logs directory creation will conflict with clean. |
459 define PrepareFailureLogs |
462 define PrepareFailureLogs |
460 $(RM) -r $(MAKESUPPORT_OUTPUTDIR)/failure-logs 2> /dev/null && \ |
463 $(RM) -r $(MAKESUPPORT_OUTPUTDIR)/failure-logs 2> /dev/null && \ |
461 $(MKDIR) -p $(MAKESUPPORT_OUTPUTDIR)/failure-logs |
464 $(MKDIR) -p $(MAKESUPPORT_OUTPUTDIR)/failure-logs |
462 $(RM) $(MAKESUPPORT_OUTPUTDIR)/exit-with-error 2> /dev/null |
465 $(RM) $(MAKESUPPORT_OUTPUTDIR)/exit-with-error 2> /dev/null |
463 endef |
466 endef |