![](/img/trans.png)
[英]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.