u-boot-2014.10编译xxxx_defconfig
来源:互联网 发布:手机微杂志制作软件 编辑:程序博客网 时间:2024/05/09 15:11
编译xxxx_defconfig
在顶层Makefile中,有如下规则编译xxxx_defconfig。这和编译menuconfig的过程是一样的,请参考u-boot-2014.10编译menuconfig
<span style="font-family:Microsoft YaHei;">%config: scripts_basic outputmakefile FORCE+$(Q)$(CONFIG_SHELL) $(srctree)/scripts/multiconfig.sh $@</span>在3个依赖编译完成后,会调用scripts/multiconfig.sh,参数为xxxx_defconfig。multiconfig.sh会调用do_board_defconfig --> run_make_config --> build
在build中会引入scripts/kconfig/Makefile,有如下规则:
<span style="font-family:Microsoft YaHei;">%_defconfig: $(obj)/conf$(Q)$< --defconfig=arch/$(SRCARCH)/configs/$@ $(Kconfig)</span>这里要注意,我们送给顶层Makefile的目标是xxxx_defconfig,而在multiconfig.sh中,送给scripts/kconfig/Makefile的目标是.tmp_defconfig。为了编译xxxx_defconfig,我们调用了multiconfig.sh,而实际上,最终的输出时.tmp_defconfig --> .config,并没有真正生成xxxx_defconfig。上面的规则最终会输出这样的指令:scripts/kconfig/conf --defconfig=arch/../configs/.tmp_defconfig Kconfig
我没有去读conf.c的源码,只是看了它的简单描述。
" --defconfig <file> New config with default defined in <file>\n"
0 0
- u-boot-2014.10编译xxxx_defconfig
- u-boot-2014.10编译u-boot
- u-boot-2014.10编译menuconfig
- u-boot编译笔记
- u-boot编译
- 编译U-Boot
- u-boot 2010 编译
- u-boot编译笔记
- u-boot编译方法
- u-boot编译问题
- 365u-boot编译
- u-boot编译
- U-boot编译过程
- u-boot编译错误
- 2440 u-boot编译
- U-Boot编译过程
- u-boot编译过程
- u-boot的编译
- Majority Element-LeetCode
- <转>写给XJTU计算机系大一大二的童鞋
- 递归复杂度测试
- MySQL之数学函数(http://www.jb51.net/article/36357.htm)
- nyoj 括号配对问题
- u-boot-2014.10编译xxxx_defconfig
- django 迁移工具makemigrations
- 浅析JSONP-解决Ajax跨域访问问题
- 我所理解的“读书百遍,其义自现”
- POJ 1002 487-3279 [解题报告] Java
- UVA - 11078 - Open Credit System (高效算法的应用!!)
- 搞清楚开源组织结构
- 2014年12月29日--2015年1月3日(共10小时,剩3/398小时)
- Flask Web Development —— Email