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