目前最新版本 wireless_tools.29.tar.gz
抓下來之後修改Makefile
## Installation directory. By default, go in /usr/local.
## Distributions should probably use /, but they probably know better...
ifndef PREFIX
PREFIX = ./install
endif
## Compiler to use (modify this for cross compile).
CC = arm-linux-gcc
## Other tools you need to modify for cross compile (static lib only).
AR = arm-linux-ar
RANLIB = arm-linux-ranlib
把toolchain的路徑加到PATH裡
然後就可以 make && make install
編譯完的binary & library 會放在 ./install 裡面的sbin & lib
都複製到rootfs 裡面去重包一次jffs2 再傳進去就可以用了
0 comments:
Post a Comment