diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2021-04-24 02:22:57 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2021-04-24 02:32:13 +0300 |
commit | 48512cf7bc96ee0cec85bc149b4183b9ca565855 (patch) | |
tree | ed929505a0bc8ebb63e0468290029d108e2eae8a /kbuild.sh | |
parent | 60195fbe54c9c60f3b9a77c35bea6fafa7cdd788 (diff) |
Turn dtbs platform variable into array
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'kbuild.sh')
-rwxr-xr-x | kbuild.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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/*\//} |