[PATCH] build: Fix documentation checking
From: Matthew Wilcox (Oracle)
Date: Thu Sep 10 2020 - 14:05:12 EST
Using $(call cmd,...) requires that there be a quiet_ version of the
command, otherwise it's silently skipped.
Fixes: 3a2429e1faf4 ("kbuild: change if_changed_rule for multi-line recipe")
Signed-off-by: Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx>
---
scripts/Makefile.build | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/scripts/Makefile.build b/scripts/Makefile.build
index a467b9323442..571d75777b6f 100644
--- a/scripts/Makefile.build
+++ b/scripts/Makefile.build
@@ -104,7 +104,8 @@ else ifeq ($(KBUILD_CHECKSRC),2)
endif
ifneq ($(KBUILD_EXTRA_WARN),)
- cmd_checkdoc = $(srctree)/scripts/kernel-doc -none $<
+ quiet_cmd_checkdoc = CHKDOC $<
+ cmd_checkdoc = $(srctree)/scripts/kernel-doc -none $<
endif
# Compile C sources (.c)
--
2.28.0