cppcheck: Run quietly

Adding the --quiet option to cppcheck makes the actual errors and warnings
easier to find.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
This commit is contained in:
David Gibson 2022-09-26 20:43:44 +10:00 committed by Stefano Brivio
parent d0629ff2b2
commit 2e7f9da6d1

View file

@ -277,7 +277,7 @@ SYSTEM_INCLUDES += /usr/lib/gcc/$(TARGET)/$(VER)/include
endif endif
cppcheck: $(SRCS) $(HEADERS) cppcheck: $(SRCS) $(HEADERS)
cppcheck --std=c99 --error-exitcode=1 --enable=all --force \ cppcheck --std=c99 --error-exitcode=1 --enable=all --force \
--inconclusive --library=posix \ --inconclusive --library=posix --quiet \
$(SYSTEM_INCLUDES:%=-I%) \ $(SYSTEM_INCLUDES:%=-I%) \
$(SYSTEM_INCLUDES:%=--config-exclude=%) \ $(SYSTEM_INCLUDES:%=--config-exclude=%) \
$(SYSTEM_INCLUDES:%=--suppress=*:%/*) \ $(SYSTEM_INCLUDES:%=--suppress=*:%/*) \