From e46efb150efef6d9e0ce2089c50d3fdd1d069958 Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Wed, 29 Dec 2021 13:38:39 +0800
Subject: [PATCH] update build shell script for SYSTEM,DISTRO and SYSNAME

---
 bsp/tarball/build.sh |   16 +++++-----------
 1 files changed, 5 insertions(+), 11 deletions(-)

diff --git a/bsp/tarball/build.sh b/bsp/tarball/build.sh
index d9b7883..6cac99a 100755
--- a/bsp/tarball/build.sh
+++ b/bsp/tarball/build.sh
@@ -8,19 +8,13 @@
 BSP_BRANCH=lf-5.10.52-2.1.0
 
 
-# $SYSTEM should be buildroot, yocto or debian
-# Buildroot distro should be: buildroot-2021.02
-# Yocto distro should be    : hardknott
-# Debian distro should be   : buster or bullseye
+# SYSTEM  should be: buildroot, yocto or debian
+# DISTRO  should be: 2021.02, hardknott, buster or bullseye
+# SYSNAME should be: buildroot, yocto, buster or bullseye
 SYSTEM=buildroot
-DISTRO=v2021.02
+DISTRO=2021.02
+SYSNAME=buildroot
 
-SYSTYPE=`echo $SYSTEM | tr 'A-Z' 'a-z'`
-if [ $SYSTYPE == "debian" ] ; then
-   SYSNAME=${DISTRO}
-else
-   SYSNAME=${SYSTYPE}
-fi
 ROOTFS_DIR=rootfs_${SYSNAME}
 
 function do_fetch_git()

--
Gitblit v1.9.1