diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2024-01-09 13:07:35 +0100 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2024-02-19 10:20:39 +0100 |
commit | 8f66864cee447835889ec0d91d52ff39bf2deabc (patch) | |
tree | 2b237e883e6d387d3a0f0e6cc12a8e334be04371 /Makefile | |
parent | kbuild: create a list of all built DTB files (diff) | |
download | linux-8f66864cee447835889ec0d91d52ff39bf2deabc.tar.xz linux-8f66864cee447835889ec0d91d52ff39bf2deabc.zip |
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>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1411,7 +1411,7 @@ endif dtbs_check: dtbs dtbs_install: - $(Q)$(MAKE) $(dtbinst)=$(dtstree) dst=$(INSTALL_DTBS_PATH) + $(Q)$(MAKE) -f $(srctree)/scripts/Makefile.dtbinst obj=$(dtstree) ifdef CONFIG_OF_EARLY_FLATTREE all: dtbs |