| | |
| | | |
| | | PREFIX_PATH=`pwd`/../install/bin |
| | | |
| | | if [ -z $CROSSTOOL ] ; then |
| | | CROSSTOOL=/opt/crosstool/cortex-a7/bin/arm-linux-gnueabi- |
| | | fi |
| | | LYFTP_SRC=ftp://master.iot-yun.club/src/ |
| | | |
| | | CROSSTOOL=/opt/crosstool/cortex-a7/bin/arm-linux-gnueabi- |
| | | |
| | | function msg_banner() |
| | | { |
| | |
| | | |
| | | msg_banner "Start donwload $SRC_NAME " |
| | | if [ ! -f ${SRC_NAME}.${PACK_SUFIX} ] ; then |
| | | wget http://www.thekelleys.org.uk/dnsmasq/${SRC_NAME}.${PACK_SUFIX} |
| | | #wget http://www.thekelleys.org.uk/dnsmasq/${SRC_NAME}.${PACK_SUFIX} |
| | | wget $LYFTP_SRC/$SRC_NAME.$PACK_SUFIX |
| | | check_result "ERROR: download ${SRC_NAME} failure" |
| | | fi |
| | | |
| | |
| | | check_result "ERROR: compile ${SRC_NAME} failure" |
| | | |
| | | ${STRIP} src/dnsmasq |
| | | cp src/dnsmasq ${PREFIX_PATH} ../ |
| | | cp src/dnsmasq ../ |
| | | cp src/dnsmasq ${PREFIX_PATH} |
| | | |
| | | cd - |
| | | } |