wpa_supplicant及openssl移植
一:移植openssl
1:将wpa_supplicant下的补丁打到openssl中
2:./Configure linux-elf-mips -DB_ENDIAN linux:'mipsel-linux-gcc' shared --prefix=/home/dev/wifi/wpa_supplicant-0.6.9/openssl
3: make
4: make install
二:移植wpa_supplicant-0.6.9
1: 进入wpa_supplicant目录中,修改Makefile,将CC配置成mipsel-linux-gcc
2: cp defconfig .config
3: 修改.config
加入 :
CC=mipsel-linux-gcc -L /home/dev/wifi/wpa_supplicant-0.6.9/openssl/lib/
CFLAGS += -I/home/dev/wifi/wpa_supplicant-0.6.9/openssl/lib/
LIBS += -L/home/dev/wifi/wpa_supplicant-0.6.9/openssl/lib/
4: make
阅读(4353) | 评论(0) | 转发(0) |