|
|
| version 1.2.2.3, 2011/10/31 13:42:03 | version 1.3.2.2, 2012/01/31 13:46:32 |
|---|---|
| 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 221 compile_cross() | Line 225 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 258 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 270 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 284 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} |
| Line 314 compile_3th() | Line 313 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 |