version 1.1.2.1, 2012/02/21 16:15:14
|
version 1.2.6.2, 2013/07/22 14:31:40
|
Line 15 if [ X"${ELWIX_IS_CONFIGURED}" != X"YES" ]; then
|
Line 15 if [ X"${ELWIX_IS_CONFIGURED}" != X"YES" ]; then
|
echo |
echo |
exit 1 |
exit 1 |
fi |
fi |
|
V=${VERSION} |
|
[ -r ${CENV} ] && . ${CENV} |
|
unset INSTALL |
|
unset VERSION |
|
VERSION="$V" |
|
|
if [ ! -d $BSDSRC ]; then |
if [ ! -d $BSDSRC ]; then |
echo |
echo |
Line 30 if [ ! -d $DEST ]; then
|
Line 35 if [ ! -d $DEST ]; then
|
exit 1 |
exit 1 |
fi |
fi |
|
|
clean_cross() | clean_3th() |
{ |
{ |
echo "+++ Clean ELWIX 3th party ..." |
echo "+++ Clean ELWIX 3th party ..." |
|
|
Line 64 compile_3th()
|
Line 69 compile_3th()
|
[ $? -ne 0 ] && exit 1 |
[ $? -ne 0 ] && exit 1 |
./build.sh scan_ffs ${CBUILD} ${PKG} ${TARGET_BUILD} |
./build.sh scan_ffs ${CBUILD} ${PKG} ${TARGET_BUILD} |
[ $? -ne 0 ] && exit 1 |
[ $? -ne 0 ] && exit 1 |
./build.sh pciutils ${CGBUILD} ${PKG} ${TARGET_BUILD} |
|
[ $? -ne 0 ] && exit 1 |
|
./build.sh istgt ${CBUILD} ${PKG} ${TARGET_BUILD} |
./build.sh istgt ${CBUILD} ${PKG} ${TARGET_BUILD} |
[ $? -ne 0 ] && exit 1 |
[ $? -ne 0 ] && exit 1 |
./build.sh rsync ${CBUILD} ${PKG} ${TARGET_BUILD} |
./build.sh rsync ${CBUILD} ${PKG} ${TARGET_BUILD} |
Line 74 compile_3th()
|
Line 77 compile_3th()
|
[ $? -ne 0 ] && exit 1 |
[ $? -ne 0 ] && exit 1 |
./build.sh mpd ${CBUILD} ${PKG} ${TARGET_BUILD} |
./build.sh mpd ${CBUILD} ${PKG} ${TARGET_BUILD} |
[ $? -ne 0 ] && exit 1 |
[ $? -ne 0 ] && exit 1 |
|
./build.sh mrouted ${CGBUILD} ${PKG} ${TARGET_BUILD} |
|
[ $? -ne 0 ] && exit 1 |
./build.sh igmpproxy ${CBUILD} ${PKG} ${TARGET_BUILD} |
./build.sh igmpproxy ${CBUILD} ${PKG} ${TARGET_BUILD} |
[ $? -ne 0 ] && exit 1 |
[ $? -ne 0 ] && exit 1 |
./build.sh sudo ${CBUILD} ${PKG} ${TARGET_BUILD} |
./build.sh sudo ${CBUILD} ${PKG} ${TARGET_BUILD} |
Line 84 compile_3th()
|
Line 89 compile_3th()
|
[ $? -ne 0 ] && exit 1 |
[ $? -ne 0 ] && exit 1 |
./build.sh ipguard ${CBUILD} ${PKG} ${TARGET_BUILD} |
./build.sh ipguard ${CBUILD} ${PKG} ${TARGET_BUILD} |
[ $? -ne 0 ] && exit 1 |
[ $? -ne 0 ] && exit 1 |
./build.sh iperf ${CBUILD} ${PKG} ${TARGET_BUILD} |
|
[ $? -ne 0 ] && exit 1 |
|
./build.sh smartmontools ${CBUILD} ${PKG} ${TARGET_BUILD} |
./build.sh smartmontools ${CBUILD} ${PKG} ${TARGET_BUILD} |
[ $? -ne 0 ] && exit 1 |
[ $? -ne 0 ] && exit 1 |
./build.sh sqlite3 ${CBUILD} ${PKG} ${TARGET_BUILD} |
|
[ $? -ne 0 ] && exit 1 |
|
./build.sh quagga ${CBUILD} ${PKG} ${TARGET_BUILD} |
./build.sh quagga ${CBUILD} ${PKG} ${TARGET_BUILD} |
[ $? -ne 0 ] && exit 1 |
[ $? -ne 0 ] && exit 1 |
./build.sh coova-chilli ${CBUILD} ${PKG} ${TARGET_BUILD} |
|
[ $? -ne 0 ] && exit 1 |
|
./build.sh iftop ${CBUILD} ${PKG} ${TARGET_BUILD} |
./build.sh iftop ${CBUILD} ${PKG} ${TARGET_BUILD} |
[ $? -ne 0 ] && exit 1 |
[ $? -ne 0 ] && exit 1 |
./build.sh arping ${CBUILD} ${PKG} ${TARGET_BUILD} |
./build.sh arping ${CBUILD} ${PKG} ${TARGET_BUILD} |
[ $? -ne 0 ] && exit 1 |
[ $? -ne 0 ] && exit 1 |
./build.sh hping ${CGBUILD} ${PKG} ${TARGET_BUILD} | ./build.sh hping2 ${CGBUILD} ${PKG} ${TARGET_BUILD} |
[ $? -ne 0 ] && exit 1 |
[ $? -ne 0 ] && exit 1 |
./build.sh trafshow ${CBUILD} ${PKG} ${TARGET_BUILD} |
./build.sh trafshow ${CBUILD} ${PKG} ${TARGET_BUILD} |
[ $? -ne 0 ] && exit 1 |
[ $? -ne 0 ] && exit 1 |
Line 106 compile_3th()
|
Line 105 compile_3th()
|
[ $? -ne 0 ] && exit 1 |
[ $? -ne 0 ] && exit 1 |
./build.sh dhcp ${CBUILD} ${PKG} ${TARGET_BUILD} |
./build.sh dhcp ${CBUILD} ${PKG} ${TARGET_BUILD} |
[ $? -ne 0 ] && exit 1 |
[ $? -ne 0 ] && exit 1 |
./build.sh dhcdrop ${CBUILD} ${PKG} ${TARGET_BUILD} | ./build.sh dhcping ${CBUILD} ${PKG} ${TARGET_BUILD} |
[ $? -ne 0 ] && exit 1 |
[ $? -ne 0 ] && exit 1 |
./build.sh thttpd ${CBUILD} ${PKG} ${TARGET_BUILD} | ./build.sh miniupnpd ${CBUILD} ${PKG} ${TARGET_BUILD} |
[ $? -ne 0 ] && exit 1 |
[ $? -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 libxml2 ${CBUILD} ${PKG} ${TARGET_BUILD} |
|
[ $? -ne 0 ] && exit 1 |
./build.sh php ${CBUILD} ${PKG} ${TARGET_BUILD} |
./build.sh php ${CBUILD} ${PKG} ${TARGET_BUILD} |
[ $? -ne 0 ] && exit 1 |
[ $? -ne 0 ] && exit 1 |
cd - |
cd - |
|
|
echo "ELWIX Platform:${PLATFORM} Version:${VERSION} TargetArch:${TARGET_ARCH}" >${PKG}/elwix.ver |
|
} |
} |
|
|
### main() |
### main() |
if ! SnitVer ${PKG}/elwix.ver; then |
if ! SnitVer ${PKG}/elwix.ver; then |
|
# clean_3th |
compile_3th |
compile_3th |
|
|
|
echo "ELWIX Platform:${PLATFORM} Version:${VERSION} TargetArch:${TARGET_ARCH}" >${PKG}/elwix.ver |
else |
else |
echo "Skipped ELWIX 3th party build ..." |
echo "Skipped ELWIX 3th party build ..." |
fi |
fi |