diff options
author | Rob Herring <robh@kernel.org> | 2018-11-07 08:36:46 -0600 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-11-11 23:04:53 +0900 |
commit | d5615e472d23e854e96192103b6ae7977e705f01 (patch) | |
tree | 92227b1ec55c6000199230d58ba3bfedcfc0f542 /samples/rpmsg/Makefile | |
parent | 8ef14c2c41d962756d314f1d7dc972b0ea7a180f (diff) | |
download | linux-next-d5615e472d23e854e96192103b6ae7977e705f01.tar.gz |
builddeb: Fix inclusion of dtbs in debian package
Commit 37c8a5fafa3b ("kbuild: consolidate Devicetree dtb build rules")
moved the location of 'dtbs_install' target which caused dtbs to not be
installed when building debian package with 'bindeb-pkg' target. Update
the builddeb script to use the same logic that determines if there's a
'dtbs_install' target which is presence of the arch dts directory. Also,
use CONFIG_OF_EARLY_FLATTREE instead of CONFIG_OF as that's a better
indication of whether we are building dtbs.
This commit will also have the side effect of installing dtbs on any
arch that has dts files. Previously, it was dependent on whether the
arch defined 'dtbs_install'.
Fixes: 37c8a5fafa3b ("kbuild: consolidate Devicetree dtb build rules")
Reported-by: Nuno Gonçalves <nunojpg@gmail.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'samples/rpmsg/Makefile')
0 files changed, 0 insertions, 0 deletions