How to Cross Compile the wireless_tools(iwconfig iwlist)

来源:互联网 发布:apache麒麟 编辑:程序博客网 时间:2024/05/19 20:19

vi Makefile

 

## 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

 

CFLAGS=-Os -static -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow /
        -Wpointer-arith -Wcast-qual -Winline -I.

 

make

原创粉丝点击