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@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 | \