--- elwix/build_3thparty.sh 2013/08/05 13:10:16 1.3 +++ elwix/build_3thparty.sh 2014/01/07 09:26:42 1.4.2.2 @@ -5,10 +5,19 @@ # (C) AITNET ltd - Sofia/Bulgaria # by Michael Pounov # -# $Id: build_3thparty.sh,v 1.3 2013/08/05 13:10:16 misho Exp $ +# $Id: build_3thparty.sh,v 1.4.2.2 2014/01/07 09:26:42 misho Exp $ # [ -r ./config/rc.elwix ] && . ./config/rc.elwix +if [ -r ./config/rc.3thparty_helper ]; then + . ./config/rc.3thparty_helper +else + echo + echo "ELWIX project is not configured - Missing rc.3thparty_helper script" + echo + exit 1 +fi + if [ X"${ELWIX_IS_CONFIGURED}" != X"YES" ]; then echo echo "ELWIX project is not configured !?!" @@ -62,8 +71,10 @@ compile_3th() { echo "+++ Compile ELWIX 3th party ..." + BUILD_SH="./config/rc.3thparty_helper" + cd $CROSS_3TH - ./build.sh expat ${CBUILD} ${PKG} ${TARGET_BUILD} + ${BUILD_SH} expat ${CBUILD} ${PKG} ${TARGET_BUILD} [ $? -ne 0 ] && exit 1 ./build.sh libevent ${CBUILD} ${PKG} ${TARGET_BUILD} [ $? -ne 0 ] && exit 1 @@ -77,8 +88,8 @@ compile_3th() [ $? -ne 0 ] && exit 1 ./build.sh scan_ffs ${CBUILD} ${PKG} ${TARGET_BUILD} [ $? -ne 0 ] && exit 1 - ./build.sh istgt ${CBUILD} ${PKG} ${TARGET_BUILD} - [ $? -ne 0 ] && exit 1 +# ./build.sh istgt ${CBUILD} ${PKG} ${TARGET_BUILD} +# [ $? -ne 0 ] && exit 1 ./build.sh rsync ${CBUILD} ${PKG} ${TARGET_BUILD} [ $? -ne 0 ] && exit 1 ./build.sh ttcp ${CBUILD} ${PKG} ${TARGET_BUILD} @@ -111,17 +122,21 @@ compile_3th() [ $? -ne 0 ] && exit 1 ./build.sh ipsec-tools ${CBUILD} ${PKG} ${TARGET_BUILD} [ $? -ne 0 ] && exit 1 - ./build.sh dhcp ${CBUILD} ${PKG} ${TARGET_BUILD} - [ $? -ne 0 ] && exit 1 - ./build.sh dhcping ${CBUILD} ${PKG} ${TARGET_BUILD} - [ $? -ne 0 ] && exit 1 -# ./build.sh dnsmasq ${CBUILD} ${PKG} ${TARGET_BUILD} +# ./build.sh dhcp ${CBUILD} ${PKG} ${TARGET_BUILD} # [ $? -ne 0 ] && exit 1 +# ./build.sh dhcping ${CBUILD} ${PKG} ${TARGET_BUILD} +# [ $? -ne 0 ] && exit 1 + ./build.sh dnsmasq ${CBUILD} ${PKG} ${TARGET_BUILD} + [ $? -ne 0 ] && exit 1 ./build.sh miniupnpd ${CBUILD} ${PKG} ${TARGET_BUILD} [ $? -ne 0 ] && exit 1 ./build.sh miniupnpc ${CGBUILD} ${PKG} ${TARGET_BUILD} [ $? -ne 0 ] && exit 1 ./build.sh ntp ${CBUILD} ${PKG} ${TARGET_BUILD} + [ $? -ne 0 ] && exit 1 + ./build.sh spawn-fcgi ${CBUILD} ${PKG} ${TARGET_BUILD} + [ $? -ne 0 ] && exit 1 + ./build.sh lighttpd ${CBUILD} ${PKG} ${TARGET_BUILD} [ $? -ne 0 ] && exit 1 ./build.sh libxml2 ${CBUILD} ${PKG} ${TARGET_BUILD} [ $? -ne 0 ] && exit 1