--
The simplest is not all best but the best is surely the simplest!
_______________________________________________
Linux 内核开发中文邮件列表
Linux-...@zh-kernel.org
http://zh-kernel.org/mailman/listinfo/linux-kernel
Linux 内核开发中文社区: http://zh-kernel.org
--
这是zh-kernel邮件列表内容的只读归档,如果想参与讨论请访问http://zh-kernel.org进行订阅。
--
The simplest is not all best but the best is surely the simplest!
单核就是 make -j2 了,
规律是 make -j "nr_cpu+1"
2010/5/14 hank peng <peng...@gmail.com>
尽量去掉不要的module,最简单的方法是用scripts/kconfig/streamline_config.pl
这个脚本,至于怎么用,脚本里有说明。
加上ccache
--
Thanks,
Jike
使用 distcc 和 ccache 都可以提高效率。
make -jN 可以让多个target并行处理。
/大头阿当
或者直接:
make localmodconfig (localyesconfig)
:-)
但是,很明显streamline_config.pl是缩减编译的内核模块数量,这当然能减少编译时间,
而楼主想要的未必是这个。
而且streamline_config.pl有个问题,当前未加载的模块是不会被编译的,也就是说,
新编译的内核里可能会丢失一些你需要的模块。
我自己写的脚本里同时使用-jX 和 ccache:
make CC='ccache gcc' -j5
great, thanks a lot!!
--
The simplest is not all best but the best is surely the simplest!