From a18353d7b72e5b7094d25fe5a6c7497993716fcd Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Tue, 6 Jun 2017 06:44:46 -0600 Subject: [PATCH] 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 Reviewed-on: https://review.coreboot.org/20049 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Patrick Georgi --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) 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 | \