History

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.

Masahiro Yamada committed 2 years ago

Commit 8f668641 parent 24507873 files · +19 −21Browse files

Showing the changes to scripts/Kbuild.include (1 of 3 files). Show all

Unified · Split

scripts/Kbuild.include+0−6
@@ -113,12 +113,6 @@ endef · 112 unmodified lines
113113 # $(Q)$(MAKE) $(build)=dir
114114 build := -f $(srctree)/scripts/Makefile.build obj
115115
116−###
117−# Shorthand for $(Q)$(MAKE) -f scripts/Makefile.dtbinst obj=
118−# Usage:
119−# $(Q)$(MAKE) $(dtbinst)=dir
120−dtbinst := -f $(srctree)/scripts/Makefile.dtbinst obj
121−
122116 ###
123117 # Shorthand for $(Q)$(MAKE) -f scripts/Makefile.clean obj=
124118 # Usage:

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t