summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2017-03-22 05:08:41 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2017-03-22 05:58:03 +0100
commitb0f1a77b0df58a56122eba5b528927fb4baebd4a (patch)
treeb4a2b6da00648f4650b3aead420f2a9610dbab74 /scripts
parent39a66a8be47b12fcff514b905eaf6fe385c084f6 (diff)
rpi: rename device tree overlays to use static loading, no DDTK
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/install.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/install.sh b/scripts/install.sh
index 9bbdf3758..d899d2087 100755
--- a/scripts/install.sh
+++ b/scripts/install.sh
@@ -552,10 +552,11 @@ case $target {
[[ -e "$x" ]] && cp "$fwdir"/*.dtb "$B/"
break
done
+ # use static dtoverlay, rename to *.dtb
mkdir "$B/"overlays
for x in "$fwdir"/overlays/*.dtbo; do
- [[ -e "$x" ]] && cp "$fwdir"/overlays/*.dtbo "$B/"overlays
- break
+ y=$(basename ${x} .dtbo)
+ [[ -e "$x" ]] && cp "$fwdir"/overlays/${y}.dtbo "$B/"overlays/${y}.dtb
done
umount_fs "$B"
;;