OSDN Git Service

kbuild: add more comments for KBUILD_NOCMDDEP=1
authorMasahiro Yamada <masahiroy@kernel.org>
Thu, 29 Dec 2022 09:15:01 +0000 (18:15 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Sun, 22 Jan 2023 14:43:33 +0000 (23:43 +0900)
commitee2162bd4fe85a62dcd3b9133fd0c537ae2eb3c5
treeafb5efd76b899888940f207786914ae3943a4c7d
parent92215e7a801da7b89037a185c98f5ebb86a415b9
kbuild: add more comments for KBUILD_NOCMDDEP=1

The cmd-check for KBUILD_NOCMDDEP=1 may not be clear until you see
commit c4d5ee13984f ("kbuild: make KBUILD_NOCMDDEP=1 handle empty
built-in.o").

When a phony target (i.e. FORCE) is the only prerequisite, Kbuild
uses a tricky way to detect that the target does not exist.

Add more comments.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Nicolas Schier <nicolas@fjasle.eu>
scripts/Kbuild.include