summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2020-04-08 20:29:19 +0200
committerMasahiro Yamada <masahiroy@kernel.org>2020-04-11 05:09:48 +0200
commit00d76a0c19436c88ffcafa1e816f0c0c9af082a0 (patch)
treee8a7dfae2b4d7592e5edaecd5990c8199b235847 /usr
parentkbuild: support LLVM=1 to switch the default tools to Clang/LLVM (diff)
downloadlinux-00d76a0c19436c88ffcafa1e816f0c0c9af082a0.tar.xz
linux-00d76a0c19436c88ffcafa1e816f0c0c9af082a0.zip
kbuild: fix comment about missing include guard detection
The keyword here is 'twice' to explain the trick. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'usr')
-rw-r--r--usr/include/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/include/Makefile b/usr/include/Makefile
index a339ef325aa5..b568a95d1f62 100644
--- a/usr/include/Makefile
+++ b/usr/include/Makefile
@@ -93,7 +93,7 @@ no-header-test += asm-generic/%
extra-y := $(patsubst $(obj)/%.h,%.hdrtest, $(shell find $(obj) -name '*.h' 2>/dev/null))
-# Include the header to detect missing include guard.
+# Include the header twice to detect missing include guard.
quiet_cmd_hdrtest = HDRTEST $<
cmd_hdrtest = \
$(CC) $(c_flags) -S -o /dev/null -x c /dev/null \