hvk: add support to copy additional DTB in DTB_FILES
authorHugo Villeneuve <hugo@hugovil.com>
Thu, 17 Oct 2024 15:19:02 +0000 (11:19 -0400)
committerHugo Villeneuve <hugo@hugovil.com>
Thu, 24 Oct 2024 20:53:45 +0000 (16:53 -0400)
scripts/hvk-compile.sh

index c6c96f8..11bf19a 100755 (executable)
@@ -112,6 +112,10 @@ function rootfs_install() {
 
     cp ${BOOT_SRC}/Image ${deploydir}/boot/Image-latest
     cp ${DTB_SRC}        ${deploydir}${DTB_DEST}
+
+    for f in ${DTB_FILES}; do
+        cp ${f}.dtb ${deploydir}/boot
+    done
 }
 
 function rootfs_archive() {