From b7c087328fd39165a86340e0561ab19084426eb5 Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Fri, 01 Mar 2024 11:18:08 +0800
Subject: [PATCH] Build:IGKBoard-All: Update build.sh

---
 yocto/build.sh |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/yocto/build.sh b/yocto/build.sh
index 5fe395a..f6b01b4 100755
--- a/yocto/build.sh
+++ b/yocto/build.sh
@@ -7,7 +7,7 @@
 PRJ_PATH=$(cd $(dirname "${BASH_SOURCE[0]}") && pwd)
 
 # top project absolute path
-TOP_PATH=$(realpath $PRJ_PATH/..)
+TOP_PATH=$PRJ_PATH/..
 
 # prefix install path
 PRFX_PATH=$PRJ_PATH/install
@@ -136,7 +136,7 @@
 
             # Download source code packet
             if [ ! -s $TARBALL_PATH/$YCT_SRC.tar.xz ] ; then
-                wget $BSP_URL/bsp/$BSP_VER/$YCT_SRC.tar.xz -P $TARBALL_PATH
+                wget $BSP_URL/imx/bsp/$BSP_VER/$YCT_SRC.tar.xz -P $TARBALL_PATH
             fi
 
             # decompress source code packet
@@ -157,6 +157,7 @@
     BSP_VER=`echo $BSP_VER | sed 's/imx/lf/'`
     cp $TOP_PATH/bootloader/patches/${BOARD}/uboot-imx-${BSP_VER}.patch $PRJ_PATH/$YCT_META/recipes-bsp/u-boot/files/
     cp $TOP_PATH/kernel/patches/${BOARD}/linux-imx-${BSP_VER}.patch $PRJ_PATH/$YCT_META/recipes-kernel/linux/files/
+    cp $TOP_PATH/images/patches/config-*.txt $PRJ_PATH/$YCT_META/recipes-bsp/u-boot/files/
 
     if [ ! -e $YCT_PATH/sources/$YCT_META ] ; then
         ln -s $PRJ_PATH/$YCT_META $YCT_PATH/sources/$YCT_META

--
Gitblit v1.9.1