aboutsummaryrefslogtreecommitdiff
path: root/scripts/package
diff options
context:
space:
mode:
authorAvik Sil <avik.sil@linaro.org>2012-04-24 14:05:55 +0530
committerAndrey Konovalov <andrey.konovalov@linaro.org>2013-01-11 22:12:49 +0400
commitbd8014d16b779ea9bdcd2c73320c8afef26e4493 (patch)
tree6710fbd37e2d2aaa697bbe1e39f834417b291534 /scripts/package
parent560b1bd281a096335c75e26d0ef3385bc6086f4f (diff)
downloadvexpress-lsk-bd8014d16b779ea9bdcd2c73320c8afef26e4493.tar.gz
Add device tree files to deb package
Signed-off-by: Avik Sil <avik.sil@linaro.org>
Diffstat (limited to 'scripts/package')
-rw-r--r--scripts/package/builddeb5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/package/builddeb b/scripts/package/builddeb
index 88eabb6120b..7621018a538 100644
--- a/scripts/package/builddeb
+++ b/scripts/package/builddeb
@@ -119,6 +119,11 @@ else
else
cp arch/$ARCH/boot/$KBUILD_IMAGE "$tmpdir/boot/vmlinuz-$version"
fi
+ # Copy device tree files if generated
+ stat arch/$ARCH/boot/*.dtb && {
+ mkdir -p "$tmpdir/boot/dt-$version"
+ cp arch/$ARCH/boot/*.dtb "$tmpdir/boot/dt-$version"
+ }
fi
if grep -q '^CONFIG_MODULES=y' .config ; then