[plug] What are all these commands to build a kernel
Anthony J. Breeds-Taurima
tony at cantech.net.au
Fri Aug 9 09:41:16 WST 2002
On Fri, 9 Aug 2002, Cameron Patrick wrote:
> 'make clean' will remove any bits and pieces of compiled kernel that might be lying around. 'make mrproper' is similar, but removes even more files and sets the kernel .config file back to the default. You only need them if you've just compiled a kernel, and now you're about to compile a completely different one.
mrproper also removes dynamically created header files, linker scripts and
symlinks.
> make dep && make bzImage && make modules && make modules_install && \
On a UP system you can simply do:
make dep bzImage modules modules_install && ....
and the build will work correctly. This will take more RAM than your method
but it will only read the rules DB once, which in kbuild2.4 can be a
substansial saving.
On an SMP system the cheapest way is:
make dep && make bzImage modules && make modules_install && ....
There are races/bug in kbuild2.4 that can cause issues on SMP.
Yours Tony
Jan 22-25 2003 Linux.Conf.AU http://linux.conf.au/
The Australian Linux Technical Conference!
More information about the plug
mailing list