<blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;"><p style="white-space: pre-wrap; word-wrap: break-word;">Patch Set 2:</p><p style="white-space: pre-wrap; word-wrap: break-word;">The code looks quite strange and in fact, these are false dependencies. If you e.g. `touch fmap.fmap`, `make` will call `true` in an attempt to update `fmap_config.h`, every time without real success.</p><p style="white-space: pre-wrap; word-wrap: break-word;">If you have a recipe like the one for `fmap.fmap` that builds a number of targets, then the right thing to do is to define multiple targets in the rule: https://www.gnu.org/software/make/manual/html_node/Multiple-Targets.html</p><p style="white-space: pre-wrap; word-wrap: break-word;">Feel free to update the fix :)</p></blockquote><p style="white-space: pre-wrap; word-wrap: break-word;">well, don't touch fmap.fmap then :)</p><p style="white-space: pre-wrap; word-wrap: break-word;">The problem with multiple targets in make is that it's just a shorthand:</p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">a b c: d<br>    foo</pre><p style="white-space: pre-wrap; word-wrap: break-word;">means that it call foo to generate a, call foo to generate b, and call foo to generate c. in a parallelized build, it will even call them in parallel, which means you have three processes trying to write to the same three files at the same time - which might or might not work out well (nevermind the additional build load)</p><p><a href="https://review.coreboot.org/28198">View Change</a></p><ul style="list-style: none; padding: 0;"></ul><p>To view, visit <a href="https://review.coreboot.org/28198">change 28198</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/28198"/><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: comment </div>
<div style="display:none"> Gerrit-Change-Id: Ic7ecb88cf7df7f2488defd47ea02255fc10a67e9 </div>
<div style="display:none"> Gerrit-Change-Number: 28198 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: Nico Huber <nico.h@gmx.de> </div>
<div style="display:none"> Gerrit-Reviewer: Martin Roth <martinroth@google.com> </div>
<div style="display:none"> Gerrit-Reviewer: Patrick Georgi <pgeorgi@google.com> </div>
<div style="display:none"> Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org> </div>
<div style="display:none"> Gerrit-CC: Alex Thiessen <alex.thiessen.de+coreboot@gmail.com> </div>
<div style="display:none"> Gerrit-CC: Elyes HAOUAS <ehaouas@noos.fr> </div>
<div style="display:none"> Gerrit-Comment-Date: Fri, 14 Sep 2018 05:55:17 +0000 </div>
<div style="display:none"> Gerrit-HasComments: No </div>
<div style="display:none"> Gerrit-HasLabels: No </div>