From 6a78bd0804c46fd75c2a729f540fc1adbd72d17a Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Tue, 26 Dec 2023 10:28:51 +0800
Subject: [PATCH] Update yocto build shell script to support igkboard-imx6ull

---
 yocto/build.sh |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/yocto/build.sh b/yocto/build.sh
index 3410259..1cff93e 100755
--- a/yocto/build.sh
+++ b/yocto/build.sh
@@ -172,7 +172,12 @@
     mkdir -p ${PRFX_PATH}
     cp $YCT_PATH/$BUILD_DIR/tmp/deploy/images/$BOARD/$BB_TARGET-$BOARD.wic ${PRFX_PATH}/
     cp $YCT_PATH/$BUILD_DIR/tmp/deploy/images/$BOARD/$BB_TARGET-$BOARD.tar.zst ${PRFX_PATH}/
-    cp $YCT_PATH/$BUILD_DIR/tmp/deploy/images/$BOARD/imx-boot ${PRFX_PATH}/u-boot-${BOARD}.imx
+
+    if [[ $BOARD =~ mx6ull ]] ; then
+        cp $YCT_PATH/$BUILD_DIR/tmp/deploy/images/$BOARD/u-boot-${BOARD}.imx ${PRFX_PATH}/u-boot-${BOARD}.imx
+    else
+        cp $YCT_PATH/$BUILD_DIR/tmp/deploy/images/$BOARD/imx-boot ${PRFX_PATH}/u-boot-${BOARD}.imx
+    fi
 
     cd ${PRFX_PATH}/
 

--
Gitblit v1.9.1