<p>Martin Roth has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/21585">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">Makefile: Don't rebuild when generating tags or file list<br><br>Generating a project file list used to do a rebuild of the project.<br>Instead, just make sure there's a coreboot.rom file present and if<br>it is, generate the list.<br><br>Change-Id: I9cc12ef3d1990c3422625630451b2a7b8d77829c<br>Signed-off-by: Martin Roth <martinroth@google.com><br>---<br>M Makefile<br>1 file changed, 6 insertions(+), 3 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/21585/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/Makefile b/Makefile<br>index 383d583..4ad0177 100644<br>--- a/Makefile<br>+++ b/Makefile<br>@@ -369,13 +369,16 @@<br> $(shell mkdir -p $(KCONFIG_SPLITCONFIG) $(objk)/lxdialog $(additional-dirs) $(alldirs))<br> endif<br> <br>-$(obj)/project_filelist.txt: all<br>+$(obj)/project_filelist.txt:<br>+  if [ -z "$(wildcard $(obj)/coreboot.rom)" ]; then \<br>+                echo "*** Error: Project must be built before generating file list ***"; \<br>+         exit 1; \<br>+    fi<br>    find $(obj) -name "*.d" -exec cat {} \; | \<br>           sed 's/[:\\]/ /g' | sed 's/ /\n/g' | sort | uniq | \<br>          grep -v '\.o$$' > $(obj)/project_filelist.txt<br> <br>-filelist: clean<br>-      $(MAKE) $(obj)/project_filelist.txt<br>+filelist: $(obj)/project_filelist.txt<br>   printf "\nFiles used in build:\n"<br>   cat $(obj)/project_filelist.txt<br> <br></pre><p>To view, visit <a href="https://review.coreboot.org/21585">change 21585</a>. To unsubscribe, 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/21585"/><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: I9cc12ef3d1990c3422625630451b2a7b8d77829c </div>
<div style="display:none"> Gerrit-Change-Number: 21585 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Martin Roth <martinroth@google.com> </div>