[coreboot-gerrit] Change in coreboot[master]: Makefile: Exclude util directory from project_filelist

Martin Roth (Code Review) gerrit at coreboot.org
Tue Sep 26 18:26:08 CEST 2017


Martin Roth has uploaded this change for review. ( https://review.coreboot.org/21698


Change subject: Makefile: Exclude util directory from project_filelist
......................................................................

Makefile: Exclude util directory from project_filelist

This list should be about files included in the ROM output, not related
files.

Change-Id: I390d58ef9ab76ff05062b5fbc1e031b7c6d2f388
Signed-off-by: Martin Roth <martinroth at google.com>
---
M Makefile
1 file changed, 2 insertions(+), 2 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/98/21698/1

diff --git a/Makefile b/Makefile
index 329eaeb..dedf688 100644
--- a/Makefile
+++ b/Makefile
@@ -380,8 +380,8 @@
 		echo "*** Error: Project must be built before generating file list ***"; \
 		exit 1; \
 	fi
-	find $(obj) -name "*.d" -exec cat {} \; | \
-	  sed 's/[:\\]/ /g' | sed 's/ /\n/g' | sort | uniq | \
+	find $(obj) -path "$(obj)/util" -prune -o -name "*.d" -exec cat {} \; | \
+	  sed "s|$(top)/||" | sed 's/[:\\]/ /g' | sed 's/ /\n/g' | sort | uniq | \
 	  grep -v '\.o$$' > $(obj)/project_filelist.txt
 
 filelist: $(obj)/project_filelist.txt

-- 
To view, visit https://review.coreboot.org/21698
To unsubscribe, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I390d58ef9ab76ff05062b5fbc1e031b7c6d2f388
Gerrit-Change-Number: 21698
Gerrit-PatchSet: 1
Gerrit-Owner: Martin Roth <martinroth at google.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20170926/376bc79e/attachment.html>


More information about the coreboot-gerrit mailing list