--- elwix/build_3thparty.sh 2012/02/22 00:04:21 1.1.2.2 +++ elwix/build_3thparty.sh 2012/02/22 15:43:10 1.1.2.3 @@ -5,7 +5,7 @@ # (C) AITNET ltd - Sofia/Bulgaria # by Michael Pounov # -# $Id: build_3thparty.sh,v 1.1.2.2 2012/02/22 00:04:21 misho Exp $ +# $Id: build_3thparty.sh,v 1.1.2.3 2012/02/22 15:43:10 misho Exp $ # [ -r ./config/rc.elwix ] && . ./config/rc.elwix @@ -30,7 +30,7 @@ if [ ! -d $DEST ]; then exit 1 fi -clean_cross() +clean_3th() { echo "+++ Clean ELWIX 3th party ..." @@ -98,7 +98,7 @@ compile_3th() [ $? -ne 0 ] && exit 1 ./build.sh arping ${CBUILD} ${PKG} ${TARGET_BUILD} [ $? -ne 0 ] && exit 1 - ./build.sh hping ${CGBUILD} ${PKG} ${TARGET_BUILD} + ./build.sh hping2 ${CGBUILD} ${PKG} ${TARGET_BUILD} [ $? -ne 0 ] && exit 1 ./build.sh trafshow ${CBUILD} ${PKG} ${TARGET_BUILD} [ $? -ne 0 ] && exit 1 @@ -112,6 +112,8 @@ compile_3th() [ $? -ne 0 ] && exit 1 ./build.sh thttpd ${CBUILD} ${PKG} ${TARGET_BUILD} [ $? -ne 0 ] && exit 1 + ./build.sh libxml2 ${CBUILD} ${PKG} ${TARGET_BUILD} + [ $? -ne 0 ] && exit 1 ./build.sh php ${CBUILD} ${PKG} ${TARGET_BUILD} [ $? -ne 0 ] && exit 1 cd - @@ -121,6 +123,7 @@ compile_3th() ### main() if ! SnitVer ${PKG}/elwix.ver; then + clean_3th compile_3th else echo "Skipped ELWIX 3th party build ..."