zfs/config/CppCheck.am

12 lines
295 B
Plaintext
Raw Permalink Normal View History

2021-01-22 20:54:34 +00:00
#
# Default rules for running cppcheck against the user space components.
2021-01-22 20:54:34 +00:00
#
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)