From 1cac8406c3cea0ebef4be9c1ae6799bef6812e1b Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Sun, 14 Nov 2021 00:43:09 +0800
Subject: [PATCH] update buildroot tarball path

---
 bsp/images/build.sh     |    2 +-
 bsp/bootloader/build.sh |    2 +-
 bsp/kernel/build.sh     |    2 +-
 bsp/rootfs/build.sh     |    2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/bsp/bootloader/build.sh b/bsp/bootloader/build.sh
index d78b20b..6e4ae8a 100755
--- a/bsp/bootloader/build.sh
+++ b/bsp/bootloader/build.sh
@@ -9,7 +9,7 @@
 CROSS_TOOL=/opt/buildroot/cortexA7/bin/arm-linux-
 
 # bootloader tarball path and branch
-TAR_PATH=/home/guowenxue/imx6ull/bsp/tarball
+TAR_PATH=${PRJ_PATH}/../tarball
 BSP_BRANCH=lf-5.10.52-2.1.0
 
 
diff --git a/bsp/images/build.sh b/bsp/images/build.sh
index 8db2ddf..a5787f8 100755
--- a/bsp/images/build.sh
+++ b/bsp/images/build.sh
@@ -26,7 +26,7 @@
 ROOTFS=buildroot
 
 # linux kernel tarball path and branch
-TAR_PATH=/home/guowenxue/imx6ull/bsp/tarball
+TAR_PATH=${PRJ_PATH}/../tarball
 
 BOOT=emmc
 
diff --git a/bsp/kernel/build.sh b/bsp/kernel/build.sh
index 1a37eab..a23a609 100755
--- a/bsp/kernel/build.sh
+++ b/bsp/kernel/build.sh
@@ -11,7 +11,7 @@
 CROSS_TOOL=/opt/buildroot/cortexA7/bin/arm-linux-
 
 # linux kernel tarball path and branch
-TAR_PATH=/home/guowenxue/imx6ull/bsp/tarball
+TAR_PATH=${PRJ_PATH}/../tarball
 BSP_BRANCH=lf-5.10.52-2.1.0
 
 BOOT=emmc
diff --git a/bsp/rootfs/build.sh b/bsp/rootfs/build.sh
index 57d0dd8..c6c70d2 100755
--- a/bsp/rootfs/build.sh
+++ b/bsp/rootfs/build.sh
@@ -4,7 +4,7 @@
 
 BOARD=imx6ull
 
-TAR_PATH=/home/guowenxue/imx6ull/bsp/tarball
+TAR_PATH=${PRJ_PATH}/../tarball
 
 # rootfs should be buildroot or stretch/buster/bullseye for debian system
 ROOTFS=buildroot

--
Gitblit v1.9.1