diff options
-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 |