Differences between version 16 and predecessor to the previous major change of KernelDevelopment.
Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 16 | Last edited on Friday, December 8, 2006 11:55:46 am | by IanMcDonald | Revert |
Older page: | version 15 | Last edited on Wednesday, December 6, 2006 8:30:04 pm | by IanMcDonald | Revert |
@@ -13,9 +13,17 @@
* [Hacking the Linux 2.6 kernel, Part 2: Making your first hack | http://www-128.ibm.com/developerworks/linux/edu/l-dw-linux-kernelhack2-i.html]
!! Some notes
-In theory you
can use [DistCC] or [ccache | http://ccache.samba.org/] to speed up compilation but IanMcDonald hasn't been able to get them to work with the kernel (he would love to be told how to though)
. The problem seems
to be not so much with those products but
the fact that when you
do a
make with a
-j option it gets
screwed up (-j does parallelisation)
.
+You
can use [DistCC] or [ccache | http://ccache.samba.org/] (or both)
to speed up compilation.
+
+
The main trick is
to only make ONE target on
the command line. i.e. don't try and
do this <tt>
make -j6 CC=distcc all modules_install</tt> or else the build will get
screwed up and the whole thing will get remade each time
.
+
+Instead do this:
+<verbatim>
+make -j6 CC=distcc all
+make modules_install INSTALL_MOD_PATH=~/tmp
+</verbatim>
A script to copy a new [LinuxKernel] to remote machines:''''
<verbatim>