一、动态编译安装 openssl-0.9.8e
1. ./config no-asm shared --prefix=/home/xxx/install/openssl/
2. 修改Makefile, 将CC AR RANLIB xx-linux-gcc xx-linux-ar xx-linux-ranlib ,并且令EX_LIBS= -ldl
3. make;make install
二、动态编译 wpa_supplicant-0.7.3
修改.config文件,增加以下几行内容:
CC=xx-linux-gcc
CFLAGS+= -march=xx2 -mle -Os -I/home/xxx/install/openssl//include
LDFLAGS += -ldl -march=xx2 -mle -I/home/xxx/install/openssl//include
LIBS += -L/home/xxx/install/openssl/lib
LIBS_p += -L/home/xxx/install/openssl/lib