aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-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