projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0d1c95
)
kbuild: fix comment about missing include guard detection
author
Masahiro Yamada
<masahiroy@kernel.org>
Wed, 8 Apr 2020 18:29:19 +0000
(
03:29
+0900)
committer
Masahiro Yamada
<masahiroy@kernel.org>
Sat, 11 Apr 2020 03:09:48 +0000
(12:09 +0900)
The keyword here is 'twice' to explain the trick.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
usr/include/Makefile
patch
|
blob
|
history
diff --git
a/usr/include/Makefile
b/usr/include/Makefile
index a339ef325aa5520339ce79dd17615152e50345a8..b568a95d1f62e68b5ec830f68ab42d1878c6dc7f 100644
(file)
--- 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 t
wice t
o detect missing include guard.
quiet_cmd_hdrtest = HDRTEST $<
cmd_hdrtest = \
$(CC) $(c_flags) -S -o /dev/null -x c /dev/null \