]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitea8ebf6fea6ca887018080ffbbdf3add61706c4b
tree41503c9d7a257cbef6c002b579f7e49cd52a2bc9
parent76424572efe0480f5eb460d78dc4111a014725a7
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