kbuild: simplify dtbs_install by reading the list of compiled DTBs
authorMasahiro Yamada <masahiroy@kernel.org>
Tue, 9 Jan 2024 12:07:35 +0000 (21:07 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Mon, 19 Feb 2024 09:20:39 +0000 (18:20 +0900)
commit8f66864cee447835889ec0d91d52ff39bf2deabc
tree2b237e883e6d387d3a0f0e6cc12a8e334be04371
parent24507871c3c6ae4f6b460b016da7ff434cd34149
kbuild: simplify dtbs_install by reading the list of compiled DTBs

Retrieve the list of *.dtb(o) files from arch/*/boot/dts/dtbs-list
instead of traversing the directory tree again.

Please note that 'make dtbs_install' installs *.dtb(o) files directly
added to dtb-y because scripts/Makefile.dtbinst installs $(dtb-y)
without expanding the -dtbs suffix.

This commit preserves this behavior.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Makefile
scripts/Kbuild.include
scripts/Makefile.dtbinst