移植ethtool到arm平台

首先下载ethtool的源码包。

剩下的事情,几条命令搞定。

tar -xzf ethtool-3.15.tar.gz 

cd ethtool-3.15
./configure  --host=arm-linux CC=arm-none-linux-gnueabi-gcc  LDFLAGS=-static

make

cp ethtool  /path/to/rootfs/bin/

你可能感兴趣的:(移植ethtool到arm平台)