If you have a multi-processor machine, you can use both processors to speed the make process by inserting jx after the make command, where as a rule of thumb, x is one more than the number of processors you have. You might try a larger number and even try this on a single processor machine (we have used -j8 successfully on an SMP machine); it will only load up your CPU. For example,

# make j3 bzImage

All the make processes except make dep will work well with this method of parallel compiling.

8. Run make clean to prepare the sources for the actual compilation of the kernel.

9. Run make bzimage to create a binary image of the kernel.

Was this article helpful?

0 0

Post a comment