Makefile

all: iperf


iperf:

    cd iperf-2.0.5; \

    chmod 755 configure; \

    ./configure --build=i686-linux --host=mipsel-linux; \

    make;

    if [ ! -e "$(TARGET_ROOT)/usr/lib" ]; then \

        mkdir $(TARGET_ROOT)/usr/lib; \

    fi

    cp -af ./iperf-2.0.5/src/iperf $(TARGET_ROOT)/usr/bin/



clean:

    make -C ./iperf-2.0.5 clean



Posted by eoseontaek