summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2020-03-06 18:08:51 +0100
committerMasahiro Yamada <masahiroy@kernel.org>2020-03-25 02:19:43 +0100
commit2431f22a911a6130a10b4a0c6f13d10ede007d39 (patch)
tree4753c9c93827f18e0818bb0d6cb0063a67d19238 /Makefile
parentMakefile: disallow data races on gcc-10 as well (diff)
downloadlinux-2431f22a911a6130a10b4a0c6f13d10ede007d39.tar.xz
linux-2431f22a911a6130a10b4a0c6f13d10ede007d39.zip
kbuild: compute the dtbs_install destination more simply
The 'dtbinst_root' is used to remember the root of the in-kernel dts directory (i.e. arch/*/boot/dts), but it looks clumsy. I prefer using two variables 'obj' and 'dst' to track the in-kernel directory and the install destination, respectively. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 8533bb68d69b..d32e8c86f09c 100644
--- a/Makefile
+++ b/Makefile
@@ -1258,7 +1258,7 @@ endif
dtbs_check: dtbs
dtbs_install:
- $(Q)$(MAKE) $(dtbinst)=$(dtstree)
+ $(Q)$(MAKE) $(dtbinst)=$(dtstree) dst=$(INSTALL_DTBS_PATH)
ifdef CONFIG_OF_EARLY_FLATTREE
all: dtbs