deb-pkg: update builddeb to account for the dtb location change
Commit 499cd82 "ARM: dt: change .dtb build rules to build in dts directory"
changed the location of the generated dtb file. Modify the builddeb script
accordingly.
Signed-off-by: Andrey Konovalov <andrey.konovalov@linaro.org>
diff --git a/scripts/package/builddeb b/scripts/package/builddeb
index 22686b9..ed79ca3d 100644
--- a/scripts/package/builddeb
+++ b/scripts/package/builddeb
@@ -282,9 +282,9 @@
fi
# Copy device tree files if generated
-stat arch/$ARCH/boot/*.dtb && {
+stat arch/$ARCH/boot/dts/*.dtb && {
mkdir -p "$tmpdir/lib/firmware/$version/device-tree"
- cp arch/$ARCH/boot/*.dtb "$tmpdir/lib/firmware/$version/device-tree"
+ cp arch/$ARCH/boot/dts/*.dtb "$tmpdir/lib/firmware/$version/device-tree"
}
cat <<EOF >> debian/control