<p>Raul Rangel has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/27885">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">Makefile: Enable DELETE_ON_ERROR for all targets<br><br>If a target is interrupted in the middle of writing an output file, the<br>file could be left in a corrupt state. A subsequent make invocation will<br>see the file as up to date and can cause very confusing errors.<br><br>BUG=b:112267918<br>TEST=Made a target fail before completion and verified make deleted the<br>output file.<br><br>Change-Id: I865827ea769b4dffa638d4324fc7284f6cb2ddc0<br>Signed-off-by: Raul E Rangel <rrangel@chromium.org><br>---<br>M Makefile<br>1 file changed, 1 insertion(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://review.coreboot.org:29418/coreboot refs/changes/85/27885/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/Makefile b/Makefile</span><br><span>index 4aa179d..1d4a488 100644</span><br><span>--- a/Makefile</span><br><span>+++ b/Makefile</span><br><span>@@ -174,6 +174,7 @@</span><br><span> </span><br><span> # must come rather early</span><br><span> .SECONDEXPANSION:</span><br><span style="color: hsl(120, 100%, 40%);">+.DELETE_ON_ERROR:</span><br><span> </span><br><span> $(KCONFIG_AUTOHEADER): $(KCONFIG_CONFIG)</span><br><span>  +$(MAKE) oldconfig</span><br><span></span><br></pre><p>To view, visit <a href="https://review.coreboot.org/27885">change 27885</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://review.coreboot.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://review.coreboot.org/27885"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: coreboot </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I865827ea769b4dffa638d4324fc7284f6cb2ddc0 </div>
<div style="display:none"> Gerrit-Change-Number: 27885 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Raul Rangel <rrangel@chromium.org> </div>