summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Roth <martinroth@google.com>2017-06-06 06:44:46 -0600
committerMartin Roth <martinroth@google.com>2017-06-07 23:13:05 +0200
commita18353d7b72e5b7094d25fe5a6c7497993716fcd (patch)
tree25581a27785efcdff3863ee78996659a155873b9
parent8849f3be4a2c1151e3246affaf9d4c857a793bfa (diff)
downloadcoreboot-a18353d7b72e5b7094d25fe5a6c7497993716fcd.tar.xz
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> Reviewed-on: https://review.coreboot.org/20049 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 3e47b629a6..b711a4d9af 100644
--- a/Makefile
+++ b/Makefile
@@ -368,6 +368,11 @@ $(obj)/project_filelist.txt: all
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 | \