aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Konovalov <andrey.konovalov@linaro.org>2012-10-08 23:15:49 +0400
committerAndrey Konovalov <andrey.konovalov@linaro.org>2013-01-11 22:13:06 +0400
commit4b373f54294604198ece478544e83096cba84631 (patch)
tree6c3ca89312705b5191a67ac12dd17c574d59c71c
parentbd8014d16b779ea9bdcd2c73320c8afef26e4493 (diff)
downloadlinaro-lsk-4b373f54294604198ece478544e83096cba84631.tar.gz
Leave the DT blob in the kernel image package, but move to /lib/firmware
Signed-off-by: Andrey Konovalov <andrey.konovalov@linaro.org>
-rw-r--r--scripts/package/builddeb11
1 files changed, 6 insertions, 5 deletions
diff --git a/scripts/package/builddeb b/scripts/package/builddeb
index 7621018a538..22686b9c156 100644
--- a/scripts/package/builddeb
+++ b/scripts/package/builddeb
@@ -119,11 +119,6 @@ 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
@@ -286,6 +281,12 @@ EOF
create_package "$fwpackagename" "$fwdir"
fi
+# Copy device tree files if generated
+stat arch/$ARCH/boot/*.dtb && {
+ mkdir -p "$tmpdir/lib/firmware/$version/device-tree"
+ cp arch/$ARCH/boot/*.dtb "$tmpdir/lib/firmware/$version/device-tree"
+}
+
cat <<EOF >> debian/control
Package: $libc_headers_packagename