首页 > 其他 > 详细

wireless_tools交叉编译

时间:2019-06-17 20:12:55      阅读:159      评论:0      收藏:0      [点我收藏+]

wireless_tools交叉编译:

1.cd wireless_tools.29

2.mkdir __install

3.git df Makefile

 1 diff --git a/Makefile b/Makefile
 2 index 2e43159..fcb0c30 100644
 3 --- a/Makefile
 4 +++ b/Makefile
 5 @@ -4,14 +4,15 @@
 6 
 7  ## Installation directory. By default, go in /usr/local.
 8  ## Distributions should probably use /, but they probably know better...
 9 +PREFIX = /home/trl/Documents/wifi_ap/wireless_tools.29/__install
10  ifndef PREFIX
11    PREFIX = /usr/local
12  endif
13 
14  ## Compiler to use (modify this for cross compile).
15 -CC = gcc
16 +CC = arm-linux-gnueabihf-gcc
17  ## Other tools you need to modify for cross compile (static lib only).
18 -AR = ar
19 +AR = arm-linux-gnueabihf-ar
20  RANLIB = ranlib
21 
22  ## Uncomment this to build tools using static version of the library.

4.make

5.make install

 

wireless_tools交叉编译

原文:https://www.cnblogs.com/live-program/p/11041714.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!