summaryrefslogtreecommitdiffstats
path: root/config/CppCheck.am
blob: 13c633c6003852b04d651fd941e1a15a5dc618db (plain)
1
2
3
4
5
6
7
8
9
10
11
#
# Default rules for running cppcheck against the the user space components.
#

PHONY += cppcheck

CPPCHECKFLAGS  = --std=c99 --quiet --max-configs=1 --error-exitcode=2
CPPCHECKFLAGS += --inline-suppr -U_KERNEL

cppcheck:
	$(CPPCHECK) -j$(CPU_COUNT) $(CPPCHECKFLAGS) $(DEFAULT_INCLUDES) $(SOURCES)