凌云实验室推出的ARM Linux物联网网关开发板IGKBoard(IoT Gateway Kit Board)项目源码
guowenxue
2022-01-03 b0cd99d409f38e1aafcd67fef85a95f913b8ffbd
bsp/tarball/build.sh
@@ -2,27 +2,17 @@
TAR_PATH=`pwd`
TARBALL_URL=http://127.0.0.1:2211/imx6ull/bsp
GIT_URL_NXP="https://source.codeaurora.org/external/imx"
# update by top build.sh
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=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}
TARBALL_URL=http://weike-iot.com:2211/imx6ull/bsp
GIT_URL_NXP="https://source.codeaurora.org/external/imx"
function do_fetch_git()
{
    SRC=$1