From eee3e2463af74f47ce52333620ef3badb24f1661 Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Thu, 27 Jul 2023 17:40:33 +0800
Subject: [PATCH] Update yocto package download address

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

diff --git a/yocto/build.sh b/yocto/build.sh
index 4f21619..ec42a75 100755
--- a/yocto/build.sh
+++ b/yocto/build.sh
@@ -103,12 +103,12 @@
 
         pr_info "start fetch Yocto $YCT_VER source code"
 
-        TARBALL_NAME=$YCT_VER-$BSP_VER.tar.xz
+        TARBALL_NAME=yocto-$YCT_VER.tar.xz
 
         # Download source code packet
         if [ ! -s $TARBALL_PATH/$TARBALL_NAME ] ; then
             pr_info "start fetch $src source code"
-            wget $URL/bsp/yocto/$TARBALL_NAME -P $TARBALL_PATH
+            wget $URL/bsp/$BSP_VER/$TARBALL_NAME -P $TARBALL_PATH
         fi
 
         # decompress source code packet

--
Gitblit v1.9.1