From 62e6aa1425b2d347bebc370f0ca53fec914b3fd6 Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Tue, 12 Dec 2023 21:34:10 +0800
Subject: [PATCH] Update hello module Makefile
---
yocto/build.sh | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/yocto/build.sh b/yocto/build.sh
index 4f21619..8a341ec 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
@@ -121,7 +121,7 @@
if [ ! -e $YCT_PATH/sources/meta-igkboard ] ; then
cd $YCT_PATH/sources/
- git clone http://main.iot-yun.club:8088/r/meta-igkboard.git -b $YCT_VER
+ git clone http://main.iot-yun.club:8088/r/igkboard-meta.git meta-igkboard -b $YCT_VER
fi
}
@@ -138,8 +138,8 @@
fi
if [[ -n "$DL_PATH" ]] ; then
- sed -i "s|^#DL_DIR.*|DL_DIR ?= \"$DL_PATH\"|g" conf/local.conf
- sed -i "s|^DL_DIR.*|DL_DIR ?= \"$DL_PATH\"|g" conf/local.conf
+ sed -i "s|^#DL_DIR.*|DL_DIR ?= \"$DL_PATH/$YCT_VER\"|g" conf/local.conf
+ sed -i "s|^DL_DIR.*|DL_DIR ?= \"$DL_PATH/$YCT_VER\"|g" conf/local.conf
fi
bitbake $BB_TARGET
--
Gitblit v1.9.1