[英]How to turn my project from multiple compilation unit into a single compilation unit in Eclipse
[英]Partial compilation of openwrt project
我想得到一个想法或参考只在openwrt项目上编译子集。 我知道menuconfig实用程序,但这还不足以实现我的目标。
我想只为特定目标(ar71xx)和内核编译工具链(binutils + gcc + glibc)。
现在,在查看makefile等之后,我注意到大部分工作都在实际修补工具链和内核然后编译它。 是否有任何选项在修补后停止构建过程,所以我只能修补源代码,我可以编写自己的make文件来编译它?
独立准备(补丁)工具链:
make toolchain/{clean,prepare} V=99
要提取内核源代码并对其进行修补:
make target/linux/{clean,prepare} V=99
修补的内核源代码将在build_dir / linux中 - $(target)/ linux - $(version)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.