|
|
| version 1.2.2.3, 2011/10/31 13:42:03 | version 1.3.2.4, 2012/02/15 15:27:07 |
|---|---|
| Line 57 build_cross() | Line 57 build_cross() |
| # | # |
| _EOF | _EOF |
| env MAKEOBJDIRPREFIX=${BSDOBJ} make TARGET=${TARGET} TARGET_ARCH=${TARGET_ARCH} \ | env MAKEOBJDIRPREFIX=${BSDOBJ} make TARGET=${TARGET} TARGET_ARCH=${TARGET_ARCH} \ |
| buildenvvars >> ${DEST}/cross_build.sh | buildenvvars >> ${CBUILD} |
| cat >>${CBUILD} <<_EOF | |
| PATH=$PKG/bin:$PKG/sbin:\$PATH:$PATH | |
| _EOF | |
| cd - | cd - |
| cp ${CBUILD} ${CGBUILD} | cp ${CBUILD} ${CGBUILD} |
| cp ${CBUILD} ${CENV} | cp ${CBUILD} ${CENV} |
| cat >>${CBUILD} <<_EOF | cat >>${CBUILD} <<_EOF |
| PATH=$PATH:/usr/local/bin:/usr/local/sbin | |
| make \$* | make \$* |
| _EOF | _EOF |
| cat >>${CGBUILD} <<_EOF | cat >>${CGBUILD} <<_EOF |
| PATH=$PATH:/usr/local/bin:/usr/local/sbin | |
| /usr/local/bin/gmake \$* | /usr/local/bin/gmake \$* |
| _EOF | _EOF |
| chmod +x ${CBUILD} ${CGBUILD} | cat >>${CENV} <<_EOF |
| exec \$* | |
| _EOF | |
| chmod +x ${CBUILD} ${CGBUILD} ${CENV} | |
| echo "Done." | echo "Done." |
| } | } |
| Line 138 compile_fbsdtools() | Line 142 compile_fbsdtools() |
| install DESTDIR=${WORLD} | install DESTDIR=${WORLD} |
| cd - | cd - |
| # cd $CROSS_FT_WTAP | |
| # env MAKEOBJDIRPREFIX=${BSDOBJ} make TARGET=${TARGET} TARGET_ARCH=${TARGET_ARCH} \ | |
| # clean DESTDIR=${WORLD} | |
| # env MAKEOBJDIRPREFIX=${BSDOBJ} make TARGET=${TARGET} TARGET_ARCH=${TARGET_ARCH} \ | |
| # DESTDIR=${WORLD} | |
| # env MAKEOBJDIRPREFIX=${BSDOBJ} make TARGET=${TARGET} TARGET_ARCH=${TARGET_ARCH} \ | |
| # install DESTDIR=${WORLD} | |
| # cd - | |
| echo "ELWIX Platform:${PLATFORM} Version:${VERSION} TargetArch:${TARGET_ARCH}" >${PKG}/elwix0.ver | echo "ELWIX Platform:${PLATFORM} Version:${VERSION} TargetArch:${TARGET_ARCH}" >${PKG}/elwix0.ver |
| } | } |
| Line 221 compile_cross() | Line 234 compile_cross() |
| ${CBUILD} install | ${CBUILD} install |
| cd - | cd - |
| cd $CROSS_AITMQTT | |
| ${AITMQTT_CFG} | |
| ${CBUILD} clean | |
| ${CBUILD} | |
| ${CBUILD} install | |
| cd - | |
| cd $CROSS_EMBEDTOOLS | cd $CROSS_EMBEDTOOLS |
| ${EMBEDTOOLS_CFG} | ${EMBEDTOOLS_CFG} |
| ${CBUILD} clean | ${CBUILD} clean |
| Line 247 compile_3th() | Line 267 compile_3th() |
| [ $? -ne 0 ] && exit 1 | [ $? -ne 0 ] && exit 1 |
| ./build.sh libevent ${CBUILD} ${PKG} ${TARGET_BUILD} | ./build.sh libevent ${CBUILD} ${PKG} ${TARGET_BUILD} |
| [ $? -ne 0 ] && exit 1 | [ $? -ne 0 ] && exit 1 |
| ./build.sh lzo ${CBUILD} ${PKG} ${TARGET_BUILD} | |
| [ $? -ne 0 ] && exit 1 | |
| ./build.sh libiconv ${CGBUILD} ${PKG} ${TARGET_BUILD} | ./build.sh libiconv ${CGBUILD} ${PKG} ${TARGET_BUILD} |
| [ $? -ne 0 ] && exit 1 | [ $? -ne 0 ] && exit 1 |
| ./build.sh pcre ${CBUILD} ${PKG} ${TARGET_BUILD} | ./build.sh pcre ${CBUILD} ${PKG} ${TARGET_BUILD} |
| Line 261 compile_3th() | Line 279 compile_3th() |
| [ $? -ne 0 ] && exit 1 | [ $? -ne 0 ] && exit 1 |
| ./build.sh pciutils ${CGBUILD} ${PKG} ${TARGET_BUILD} | ./build.sh pciutils ${CGBUILD} ${PKG} ${TARGET_BUILD} |
| [ $? -ne 0 ] && exit 1 | [ $? -ne 0 ] && exit 1 |
| ./build.sh istgt ${CBUILD} ${PKG} ${TARGET_BUILD} | |
| [ $? -ne 0 ] && exit 1 | |
| ./build.sh rsync ${CBUILD} ${PKG} ${TARGET_BUILD} | ./build.sh rsync ${CBUILD} ${PKG} ${TARGET_BUILD} |
| [ $? -ne 0 ] && exit 1 | [ $? -ne 0 ] && exit 1 |
| ./build.sh ttcp ${CBUILD} ${PKG} ${TARGET_BUILD} | ./build.sh ttcp ${CBUILD} ${PKG} ${TARGET_BUILD} |
| Line 273 compile_3th() | Line 293 compile_3th() |
| [ $? -ne 0 ] && exit 1 | [ $? -ne 0 ] && exit 1 |
| ./build.sh sudo ${CBUILD} ${PKG} ${TARGET_BUILD} | ./build.sh sudo ${CBUILD} ${PKG} ${TARGET_BUILD} |
| [ $? -ne 0 ] && exit 1 | [ $? -ne 0 ] && exit 1 |
| ./build.sh pwgen ${CGBUILD} ${PKG} ${TARGET_BUILD} | |
| [ $? -ne 0 ] && exit 1 | |
| ./build.sh bmon ${CGBUILD} ${PKG} ${TARGET_BUILD} | ./build.sh bmon ${CGBUILD} ${PKG} ${TARGET_BUILD} |
| [ $? -ne 0 ] && exit 1 | [ $? -ne 0 ] && exit 1 |
| ./build.sh mtr ${CBUILD} ${PKG} ${TARGET_BUILD} | ./build.sh mtr ${CBUILD} ${PKG} ${TARGET_BUILD} |
| [ $? -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 miniupnpd ${CBUILD} ${PKG} ${TARGET_BUILD} | |
| [ $? -ne 0 ] && exit 1 | |
| ./build.sh miniupnpc ${CGBUILD} ${PKG} ${TARGET_BUILD} | |
| [ $? -ne 0 ] && exit 1 | |
| ./build.sh iperf ${CBUILD} ${PKG} ${TARGET_BUILD} | ./build.sh iperf ${CBUILD} ${PKG} ${TARGET_BUILD} |
| [ $? -ne 0 ] && exit 1 | [ $? -ne 0 ] && exit 1 |
| ./build.sh strobe ${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 conserver ${CBUILD} ${PKG} ${TARGET_BUILD} | |
| [ $? -ne 0 ] && exit 1 | |
| ./build.sh openvpn ${CBUILD} ${PKG} ${TARGET_BUILD} | |
| [ $? -ne 0 ] && exit 1 | |
| ./build.sh sqlite3 ${CBUILD} ${PKG} ${TARGET_BUILD} | ./build.sh sqlite3 ${CBUILD} ${PKG} ${TARGET_BUILD} |
| [ $? -ne 0 ] && exit 1 | [ $? -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} | ./build.sh coova-chilli ${CBUILD} ${PKG} ${TARGET_BUILD} |
| [ $? -ne 0 ] && exit 1 | [ $? -ne 0 ] && exit 1 |
| ./build.sh ntpd ${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} |
| Line 314 compile_3th() | Line 320 compile_3th() |
| ./build.sh ipsec-tools ${CBUILD} ${PKG} ${TARGET_BUILD} | ./build.sh ipsec-tools ${CBUILD} ${PKG} ${TARGET_BUILD} |
| [ $? -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 | |
| ./build.sh dhcping ${CBUILD} ${PKG} ${TARGET_BUILD} | |
| [ $? -ne 0 ] && exit 1 | [ $? -ne 0 ] && exit 1 |
| ./build.sh dhcdrop ${CBUILD} ${PKG} ${TARGET_BUILD} | ./build.sh dhcdrop ${CBUILD} ${PKG} ${TARGET_BUILD} |
| [ $? -ne 0 ] && exit 1 | [ $? -ne 0 ] && exit 1 |