此包为iperf-2.04源码,经过针对于andorid平台修改后,可以直接放到android源码目录下的/external/目录中,设置完相应的环境变量和选择vendor后,即可直接用mm或mmm external/iperf204即可在out/target/product/XXX/system/xbin/生成iperf,然后即可在android里运行了,比通过交叉编译工具要简单一点。。 附mmm生成iperf的过程: leekwen@android :/src/v2.2$ mmm external/iperf204/ ============================================ PLATFORM_VERSION_CODENAME=REL PLATFORM_VERSION=2.2 TARGET_PRODUCT=mypad TARGET_BUILD_VARIANT=user TARGET_SIMULATOR=false TARGET_BUILD_TYPE=release TARGET_BUILD_APPS= TARGET_ARCH=arm HOST_ARCH=x86 HOST_OS=linux HOST_BUILD_TYPE =release BUILD_ID=FRF85B ============================================ make: Entering directory `/src/v2.2/' build/core/main.mk:292: implicitly installing apns-conf_sdk.xml target Non-prelinked: iperf (out/target/product/mypad/symbols/system/bin/iperf) Install: out/target/product/mypad/system/xbin/iperf make: Leaving directory `/src/v2.2/' ===========================================