源码下载官网:
https://w1.fi/releases/
libnl-1.1.4交叉编译:https://blog.csdn.net/hinyunsin/article/details/6029403
下载源码:http://www.infradead.org/~tgr/libnl/files/libnl-3.2.25.tar.gz
CC=交叉编译器, --host=编译适配主机的类型(在运行主机上通过uname -m查看)
./configure CC=arm-none-linux-gnueabi-gcc --prefix=$(pwd)/build --host=arm-none-linux-gnueabi
make clean -w
make
make install
openssl编译:https://blog.csdn.net/fangye945a/article/details/86658621
下载源码:https://www.openssl.org/source/openssl-1.1.1e.tar.gz
Makefile删除-m64
./config no-asm shared no-async --prefix=$(pwd)/install --cross-compile-prefix=arm-none-linux-gnueabi-
make
make install
wpa_supplicant源码:
wget https://w1.fi/releases/wpa_supplicant-2.6.tar.gz
Makefile添加:
cp defconfig .config(可配置编译选项)
make