summaryrefslogtreecommitdiff
path: root/kbuild.sh
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-04-24 02:22:57 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-04-24 02:32:13 +0300
commit48512cf7bc96ee0cec85bc149b4183b9ca565855 (patch)
treeed929505a0bc8ebb63e0468290029d108e2eae8a /kbuild.sh
parent60195fbe54c9c60f3b9a77c35bea6fafa7cdd788 (diff)
Turn dtbs platform variable into array
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'kbuild.sh')
-rwxr-xr-xkbuild.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/kbuild.sh b/kbuild.sh
index 7d857df..98f3a0a 100755
--- a/kbuild.sh
+++ b/kbuild.sh
@@ -247,7 +247,7 @@ fi
kernel_dtbs=
if [[ ${do_build[dtbs]} == 1 ]] ; then
- for dtb in $dtbs ; do
+ for dtb in ${dtbs[@]} ; do
dtb=${dtb/:*/}
kernel_dtbs="$kernel_dtbs $dtb"
done
@@ -311,7 +311,7 @@ copy_dtbs() {
return
fi
- for dtb in $dtbs ; do
+ for dtb in ${dtbs[@]} ; do
local src=${dtb/:*/}
local dst=${dtb/*:/}
dst=${dst/*\//}