[coreboot-gerrit] Change in coreboot[master]: Makefile: add 'filelist' target

Martin Roth (Code Review) gerrit at coreboot.org
Tue Jun 6 14:44:54 CEST 2017


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


Change subject: Makefile: add 'filelist' target
......................................................................

Makefile: add 'filelist' target

Add a target to show what files are used in the build. This was already
being generated for other targets, but there was no target to just
generate and view the list.

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



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/49/20049/1

diff --git a/Makefile b/Makefile
index 3e47b62..b711a4d 100644
--- a/Makefile
+++ b/Makefile
@@ -368,6 +368,11 @@
 	  sed 's/[:\\]/ /g' | sed 's/ /\n/g' | sort | uniq | \
 	  grep -v '\.o$$' > $(obj)/project_filelist.txt
 
+filelist: clean
+	$(MAKE) $(obj)/project_filelist.txt
+	printf "\nFiles used in build:\n"
+	cat $(obj)/project_filelist.txt
+
 #works with either exuberant ctags or ctags.emacs
 ctags-project: clean-ctags $(obj)/project_filelist.txt
 	cat $(obj)/project_filelist.txt | \

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

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I6998296bb135d8b7170cacae2be902ef9dac7b54
Gerrit-Change-Number: 20049
Gerrit-PatchSet: 1
Gerrit-Owner: Martin Roth <martinroth at google.com>



More information about the coreboot-gerrit mailing list