SAMA5D4 Xplained Ultra Board BSP
guowenxue
2019-08-12 f9905513eedf5fa779618c684ba510975adab816
3rdparty/lrzsz/build.sh
@@ -10,7 +10,9 @@
PRJ_PATH=`pwd`
PREFIX_PATH=`pwd`/../install
CROSSTOOL=/opt/crosstool/cortex-a7/bin/arm-linux-gnueabi-
LYFTP_SRC=ftp://master.iot-yun.club/src/
CROSSTOOL=/opt/buildroot/cortex-a5/bin/arm-linux-
function msg_banner()
{
@@ -60,13 +62,15 @@
    IMG_NAME=sz
    if [ -f ${PRJ_PATH}/${IMG_NAME} ] ; then
        msg_banner "$SRC_NAME already compile and installed"
        return 0;
    fi
    msg_banner "Start cross compile $SRC_NAME "
    if [ ! -f ${SRC_NAME}.${PACK_SUFIX} ] ; then
        wget http://www.ohse.de/uwe/releases/${SRC_NAME}.${PACK_SUFIX}
        #wget http://www.ohse.de/uwe/releases/${SRC_NAME}.${PACK_SUFIX}
        wget $LYFTP_SRC/$SRC_NAME.$PACK_SUFIX
        check_result "ERROR: download ${SRC_NAME} failure"
    fi