kbuild: add dtbs_prepare target
authorMasahiro Yamada <masahiroy@kernel.org>
Sun, 24 Jul 2022 09:59:19 +0000 (18:59 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Sat, 30 Jul 2022 17:19:40 +0000 (02:19 +0900)
commitee47620367d5b5ee6a1934888bf1ae46576be757
tree41503c9d7a257cbef6c002b579f7e49cd52a2bc9
parent7dea20f2fecbde5df321d6d9d0b7765be6edc28c
kbuild: add dtbs_prepare target

Factor out the common prerequisites for DT compilation into the new
target, dtbs_prepare.

Add comments to explain why include/config/kernel.release is the
prerequisite. Our policy is that installation targets must not rebuild
anything in the tree. If 'make modules_install' is executed as root,
include/config/kernel.release may be owned by root.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Nicolas Schier <nicolas@fjasle.eu>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Tested-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Makefile