diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2024-01-09 21:07:35 +0900 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2024-02-19 18:20:39 +0900 |
commit | 8f66864cee447835889ec0d91d52ff39bf2deabc (patch) | |
tree | 2b237e883e6d387d3a0f0e6cc12a8e334be04371 /Makefile | |
parent | 24507871c3c6ae4f6b460b016da7ff434cd34149 (diff) | |
download | lwn-8f66864cee447835889ec0d91d52ff39bf2deabc.tar.gz lwn-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 |