linux_dsm_epyc7002/scripts/package
Rob Herring d5615e472d builddeb: Fix inclusion of dtbs in debian package
Commit 37c8a5fafa ("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: 37c8a5fafa ("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>
2018-11-11 23:04:53 +09:00
..
builddeb builddeb: Fix inclusion of dtbs in debian package 2018-11-11 23:04:53 +09:00
buildtar kbuild: buildtar: add arm64 support 2018-07-19 08:40:28 +09:00
Makefile kbuild: deb-pkg: split generating packaging and build 2018-04-07 19:04:02 +09:00
mkdebian kbuild: deb-pkg: fix too low build version number 2018-11-11 23:04:52 +09:00
mkspec kbuild: rpm-pkg: fix binrpm-pkg breakage when O= is used 2018-11-06 01:28:48 +09:00
snapcraft.template scripts/package: snap-pkg target 2017-12-13 00:00:18 +09:00