From b8946817226ec718ec305ad3274d54558b95697b Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Wed, 24 Jan 2024 19:39:59 +0800
Subject: [PATCH] Yocto:Image:IGKBoard-IMX8MP:Add iperf3 and tmux support

---
 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