Skip to content
Snippets Groups Projects
Commit 00d76a0c authored by Masahiro Yamada's avatar Masahiro Yamada
Browse files

kbuild: fix comment about missing include guard detection


The keyword here is 'twice' to explain the trick.

Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
parent a0d1c951
No related branches found
No related tags found
No related merge requests found
......@@ -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 \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment