Makefile: wrap cscope in quiet-command calls

For prettier output.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Willian Rampazzo <willianr@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20210114165730.31607-8-alex.bennee@linaro.org>
This commit is contained in:
Alex Bennée 2021-01-14 16:57:25 +00:00
parent af5d5762f3
commit 3e6c147535

View File

@ -282,9 +282,17 @@ TAGS:
.PHONY: cscope .PHONY: cscope
cscope: cscope:
rm -f "$(SRC_PATH)"/cscope.* $(call quiet-command, \
$(find-src-path) -print | sed -e 's,^\./,,' > "$(SRC_PATH)/cscope.files" rm -f "$(SRC_PATH)/"cscope.* , \
cscope -b -i"$(SRC_PATH)/cscope.files" -f"$(SRC_PATH)"/cscope.out "cscope", "Remove old $@ files")
$(call quiet-command, \
($(find-src-path) -print | sed -e 's,^\./,,' \
> "$(SRC_PATH)/cscope.files"), \
"cscope", "Create file list")
$(call quiet-command, \
cscope -b -i"$(SRC_PATH)/cscope.files" \
-f"$(SRC_PATH)"/cscope.out, \
"cscope", "Re-index $(SRC_PATH)")
# Needed by "meson install" # Needed by "meson install"
export DESTDIR export DESTDIR