From 0bc1e30ccf48fadc7b21424404093ce75b43481f Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Sat, 13 Jul 2024 23:44:46 +0800
Subject: [PATCH] PATCH:IGKBoard-IMX6ULL: Update linux kernel patch for USB to serial and ppp driver

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

diff --git a/yocto/build.sh b/yocto/build.sh
index d9443ce..b526d16 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
@@ -25,7 +25,7 @@
 CONF_FILE=$TOP_PATH/config.json
 
 # Download path
-#DL_PATH="/srv/yocto_packets/"
+#DL_PATH="/srv/yocto/"
 
 # shell script will exit once get command error
 set -e
@@ -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
@@ -185,7 +186,7 @@
 
 function do_install()
 {
-    IMAGE_NAME=yocto-${YCT_VER}-${BSP_VER}.wic
+    IMAGE_NAME=yocto-${YCT_VER}-${BOARD}.img
     ROOTFS_TAR=rootfs-yocto-${YCT_VER}.tar.zst
 
     cd $YCT_PATH

--
Gitblit v1.9.1