aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 1ebc172..83f6813 100644
--- a/Makefile
+++ b/Makefile
@@ -36,8 +36,11 @@ else
KBUILD_VERBOSE = 0
endif
-CHECKPATCH_ARGS = --no-tree --no-signoff
-CHECKCODE_ARGS = --no-patch --no-tree --no-signoff
+# Checkpatch ignores
+CHECK_IGNORE = --ignore COMPLEX_MACRO
+
+CHECKPATCH_ARGS = --no-tree --no-signoff ${CHECK_IGNORE}
+CHECKCODE_ARGS = --no-patch --no-tree --no-signoff ${CHECK_IGNORE}
ifeq "${KBUILD_VERBOSE}" "0"
Q=@