一:移植openssl
1:将wpa_supplicant下的补丁打到openssl中
2:./Configure linux-elf-arm -DB_ENDIAN linux:'arm-926ejs-linux-gcc' shared --prefix=/mnt/nfs/wapi_wireless/openssl
3: make
4: make install

二:移植wpa_supplicant-0.6.9g
1: 进入wpa_supplicant目录中,修改Makefile,将CC配置成arm-926ejs-linux-gcc
2: cp defconfig .config
3: 修改.config
加入 :
    CC=arm-926ejs-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

Logo

更多推荐