SAMA5D4 Xplained Ultra Board BSP
guowenxue
2019-08-11 b901880014f1b2099f7390833ed6eebd97c0e50a
3rdparty/ntpdate/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()
{
@@ -63,13 +61,14 @@
    PACK_SUFIX=tar.gz
    if [ -f ${PREFIX_PATH}/bin/ntpdate ] ; then
        msg_banner "$SRC_NAME already compile and installed"
        return 0;
    fi
    msg_banner "Start donwload $SRC_NAME "
    if [ ! -f ${SRC_NAME}.${PACK_SUFIX} ] ; then
        wget https://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/${SRC_NAME}.${PACK_SUFIX}
        #wget ${LYFTP_SRC}/${SRC_NAME}.${PACK_SUFIX}
        #wget https://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/${SRC_NAME}.${PACK_SUFIX}
        wget ${LYFTP_SRC}/${SRC_NAME}.${PACK_SUFIX}
        check_result "ERROR: download ${SRC_NAME} failure"
    fi