OSDN Git Service

kbuild: doc: split if_changed explanation to a separate section
authorMasahiro Yamada <masahiroy@kernel.org>
Sat, 28 Nov 2020 11:51:06 +0000 (20:51 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Mon, 21 Dec 2020 04:57:07 +0000 (13:57 +0900)
commit39bb232ae614a6c905f92a535b5b54c4289d1665
tree7381702993b7cddb7efeecab2d43cb95590ef9f0
parent41cac0834f885fac9b655eaa9214526c0c1d9afe
kbuild: doc: split if_changed explanation to a separate section

The if_changed macro is currently explained in the section
"Commands useful for building a boot image", but the use of
if_changed is not limited to the boot image.

It is often used together with custom rules. Let's split it as a
separate section, and insert it after the "Custom Rules" section.

I slightly reworded the explanation, re-numbered to fill the <deleted>
section, and also fixed the broken indentation of the Note: part.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Documentation/kbuild/makefiles.rst