diff options
author | Martin Roth <martinroth@google.com> | 2017-09-26 09:53:30 -0600 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2017-10-13 14:29:35 +0000 |
commit | 8a02727f508826ef8f1e8bbe7581eedc2e0c1198 (patch) | |
tree | 8f0b897c53d0976cd7fee7dc873f274617d536fd | |
parent | f6aa7d94c8ce003383008c366248faebd1f31e9f (diff) |
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>
Reviewed-on: https://review.coreboot.org/21698
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -380,8 +380,8 @@ $(obj)/project_filelist.txt: 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 |