[PATCH 0/4] kbuild: create a list of DTBs and allow to install base dtb and overlays

From: Masahiro Yamada
Date: Tue Jan 09 2024 - 07:07:58 EST


1/4 and 2/4 are less controvertial refactoring. This will be useful
for future cleanups.

3/4 and 4/4 address the current dtbs_install limitation; when the
generic -dtbs syntax is used in Makefiles, only the final assembled
dtbs are installed. We need to manually copy base dtbs and overlays
if necessary. It would be sometimes useful to install such base
componennts.


Masahiro Yamada (4):
kbuild: create a list of all built DTB files
kbuild: simplify dtbs_install by reading the list of compiled DTBs
kbuild: create a list of base and overlays for each DTB
kbuild: allow 'make dtbs_install' to install primitive DTBs

.gitignore | 2 ++
Documentation/kbuild/kbuild.rst | 6 ++++++
Makefile | 6 +++---
scripts/Kbuild.include | 6 ------
scripts/Makefile.build | 26 +++++++++++++++-------
scripts/Makefile.dtbinst | 38 +++++++++++++++++++++------------
scripts/Makefile.lib | 8 +++++++
7 files changed, 61 insertions(+), 31 deletions(-)

--
2.40.1