wpa_supplicant-2.6源码交叉编译
来源:互联网 发布:微信秒红包软件 编辑:程序博客网 时间:2024/06/07 09:39
源码下载官网:
https://w1.fi/releases/
libnl-1.1.4交叉编译:
./configure CC=xx-gcc \--prefix=/home/xx/openspurce/wpa_s_2_6/opensrc/release \
--sysconfdir=/home/xxx/openspurce/wpa_s_2_6/opensrc/release --host=xxx --disable-static
其中,CC=交叉编译器, --host=编译适配主机的类型(在运行主机上通过uname -m查看)
make CC=xx-gcc
make install
./Configure linux-elf no-asm --prefix=/home/xx/openspurce/wpa_s_2_6/opensrc/release \
--openssldir=/home/xx/openspurce/wpa_s_2_6/opensrc/release \
--cross-compile-prefix=xx shared
其中,--cross-compile-prefix=交叉编译器
make CC=xx-gcc
make install
Makefile添加:
CFLAGS+=-I/home/xx/openspurce/wpa_s_2_6/opensrc/release/include/
LIBS += -L/home/xx/openspurce/wpa_s_2_6/opensrc/release/lib
LIBS_p += -L/home/xx/openspurce/wpa_s_2_6/opensrc/release/lib
LIBS_c += -L/home/xx/openspurce/wpa_s_2_6/opensrc/release/lib
cp defconfig .config(可配置编译选项)
make CC=xxx
阅读全文
0 0
- wpa_supplicant-2.6源码交叉编译
- wpa_supplicant-2.6交叉编译
- wpa_supplicant-2.0交叉编译
- wpa_supplicant-2.6 源码结构
- openssl在arm下的交叉编译 -wpa_supplicant
- 编译wpa_supplicant
- 交叉编译QTE源码包
- zip/unzip源码交叉编译
- 【音频】Faad源码交叉编译
- QT5.4.2源码交叉编译
- 动态交叉编译openssl-0.9.8e 和 wpa_supplicant-0.7.3
- 使用GDB源码进行交叉编译
- tar-1.28源码的交叉编译
- Openwrt源码下载和交叉编译
- ZBar二维码源码的交叉编译
- 用arm交叉编译器编译源码包
- rsyslog源码交叉编译及DEBIAN移植
- MQTT源码交叉编译与移植
- 线程安全的AtomicLong使用
- JAVA代码实现多级树结构封装对象
- three.js 01-03 之添加光源
- Centos 7 离线安装Cloudera Manager5 和CDH5.13.0
- 详解U-Boot中printf函数的实现
- wpa_supplicant-2.6源码交叉编译
- iOS(Swift)—仿支付宝我的二维码页面系统亮度调整
- android面试-死锁条件
- 简单的okhttp封装
- 研发技能表
- session超时时间的设置
- 3_eclipse创建第一个maven项目
- EPG开发经验17.10.25
- WPF常用控件样式