module: Makefile: cppcheck: zfs_config.h lives in builddir

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes #13316
This commit is contained in:
наб 2022-04-07 02:22:37 +02:00 committed by Brian Behlendorf
parent ae43120abc
commit be91239efa
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ cppcheck-Linux:
--suppress=noValidConfiguration \
--enable=warning,information -D_KERNEL \
--include=@LINUX_OBJ@/include/generated/autoconf.h \
--include=@top_srcdir@/zfs_config.h \
--include=@top_builddir@/zfs_config.h \
--config-exclude=@LINUX_OBJ@/include \
-i zstd/lib \
-I @LINUX_OBJ@/include \