mbox series

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

Message ID 20240109120738.346061-1-masahiroy@kernel.org (mailing list archive)
Headers show
Series kbuild: create a list of DTBs and allow to install base dtb and overlays | expand

Message

Masahiro Yamada Jan. 9, 2024, 12:07 p.m. UTC
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(-)