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