Re: [PATCH] builddeb: Fix inclusion of dtbs in debian package
- Date: Fri, 9 Nov 2018 00:26:07 +0900
- From: Masahiro Yamada <yamada.masahiro@xxxxxxxxxxxxx>
- Subject: Re: [PATCH] builddeb: Fix inclusion of dtbs in debian package
On Wed, Nov 7, 2018 at 11:37 PM Rob Herring <robh@xxxxxxxxxx> wrote:
> 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@xxxxxxxxx>
> Cc: Masahiro Yamada <yamada.masahiro@xxxxxxxxxxxxx>
> Cc: Michal Marek <michal.lkml@xxxxxxxxxxx>
> Cc: linux-kbuild@xxxxxxxxxxxxxxx
> Signed-off-by: Rob Herring <robh@xxxxxxxxxx>
Applied to linux-kbuild/fixes.