OpenWrt目录的编译
来源:互联网 发布:mac魔兽世界闪退 编辑:程序博客网 时间:2024/05/19 03:19
顶层Makefile的第1个分支主要解决package和target的信息收集
.config配置文件的生成
在顶层的Makefile完成第1个分支后
执行include/toplevel.mk中目标%::的命令@+$(SUBMAKE) -r $@
重新回到顶层Makefile的第2个分支中的world目标
第2个分支主要完成源码下载和编译工作
从第2个分支中包含的信息
include target/Makefile
include package/Makefile
include tools/Makefile
include toolchain/Makefile
知道需要解决4个目录target、package、tools、toolchain的编译工作
查看tools/Makefile
最下面2行
$(eval $(call stampfile,$(curdir),tools,install,,CONFIG_CCACHE CONFIG_powerpc CONFIG_GCC_VERSION_4_5 CONFIG_GCC_USE_GRAPHITE CONFIG_TARGET_orion_generic))
$(eval $(call subdir,$(curdir)))
这些编译的规则通过include/subdir.mk中定义的2个宏
define subdir
define stampfile
展开得到
stampfile由perl脚本scripts/timestamp.pl通过检查目录下最新的那个文件时间戳与目标时间戳比较
而决定是否需要执行subdir下的目标规则
由此完成所有的编译工作
0 0
- OpenWrt目录的编译
- OpenWrt目录的编译
- Openwrt的docs目录下编译生成openwrt.pdf、openwrt.html、openwrt.css文档
- openwrt目录与编译
- openwrt的编译
- Openwrt的内核编译
- Openwrt的编译
- OpenWrt软件包的编译
- tp703n的openwrt编译
- Openwrt的内核编译
- openwrt的编译
- openwrt个目录的说明
- OpenWRT环境的搭建,编译。
- 安装openwrt的编译环境
- openWRT的ipk编译方法
- openwrt的简介与编译
- openwrt编译的两个错误
- Ubuntu下Openwrt的编译
- fatal: branch 'master' has not been signed
- 想不到的2013
- 人间无敌的电脑跳棋程序
- 当通过svn检出的项目 有俩个红点的时候
- 导入数据库表
- OpenWrt目录的编译
- android线程
- android:inputType参数类型说明
- 我的3013
- itext 生成pdf 代码
- 第一份工作两个月后的感想
- 1999名同学排成一排
- 黑马程序员__4java基础 静态和几种设计模式
- Google lmctfy 3.2 - Example allocate memory in container