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>
This commit is contained in:
parent
f6aa7d94c8
commit
8a02727f50
4
Makefile
4
Makefile
|
@ -380,8 +380,8 @@ $(obj)/project_filelist.txt:
|
||||||
echo "*** Error: Project must be built before generating file list ***"; \
|
echo "*** Error: Project must be built before generating file list ***"; \
|
||||||
exit 1; \
|
exit 1; \
|
||||||
fi
|
fi
|
||||||
find $(obj) -name "*.d" -exec cat {} \; | \
|
find $(obj) -path "$(obj)/util" -prune -o -name "*.d" -exec cat {} \; | \
|
||||||
sed 's/[:\\]/ /g' | sed 's/ /\n/g' | sort | uniq | \
|
sed "s|$(top)/||" | sed 's/[:\\]/ /g' | sed 's/ /\n/g' | sort | uniq | \
|
||||||
grep -v '\.o$$' > $(obj)/project_filelist.txt
|
grep -v '\.o$$' > $(obj)/project_filelist.txt
|
||||||
|
|
||||||
filelist: $(obj)/project_filelist.txt
|
filelist: $(obj)/project_filelist.txt
|
||||||
|
|
Loading…
Reference in New Issue