SAMA5D4 Xplained Ultra Board BSP
guowenxue
2019-08-11 d7776e3c9a93b0309cf98a56a9dfa26917f4f27d
3rdparty/curl/build.sh
@@ -11,9 +11,7 @@
LYFTP_SRC=ftp://master.iot-yun.club/src/
if [ -z $CROSSTOOL ] ; then
   CROSSTOOL=/opt/crosstool/cortex-a7/bin/arm-linux-gnueabi-
fi
CROSSTOOL=/opt/buildroot/cortex-a5/bin/arm-linux-
function msg_banner()
{
@@ -60,9 +58,10 @@
function compile_curl()
{
    SRC_NAME=curl-7.65.3
    PACK_SUFIX=tar.gz
    PACK_SUFIX=tar.bz2
    if [ -f ${PREFIX_PATH}/bin/curl ] ; then
        msg_banner "$SRC_NAME already compile and installed"
        return 0;
    fi
@@ -73,7 +72,7 @@
        check_result "ERROR: download ${SRC_NAME} failure"
    fi
    tar -xzf ${SRC_NAME}.${PACK_SUFIX}
    tar -xjf ${SRC_NAME}.${PACK_SUFIX}
    cd ${SRC_NAME}
    msg_banner "Start cross compile $SRC_NAME "