kbuild: compute the dtbs_install destination more simply
authorMasahiro Yamada <masahiroy@kernel.org>
Fri, 6 Mar 2020 17:08:51 +0000 (02:08 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Wed, 25 Mar 2020 01:19:43 +0000 (10:19 +0900)
commit2431f22a911a6130a10b4a0c6f13d10ede007d39
tree4753c9c93827f18e0818bb0d6cb0063a67d19238
parentb1112139a103b4b1101d0d2d72931f2d33d8c978
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>
Makefile
scripts/Makefile.dtbinst