Re: SV: kernel compilation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> make clean

It is usually best to do make mrproper
which is a more extensive clean

But it will delete your .config so if
you want to keep it, copy it elsewhere
then copy it back in.

If you want to compile a kernel using
an old .config file, you can do a
make oldconfig

So let's say you grab a kernel from
ftp.kernel.org. I always do this:

make mrproper
make config
make dep
make bzImage
make modules
make modules_install

If you save your .config file and want
to a completely fresh compile, do

make mrproper

copy the .config to /usr/src/linux

make oldconfig
make dep
make bzImage
make modules
make modules_install


-- Doug



_______________________________________________ Blinux-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/blinux-list

[Index of Archives]     [Linux Speakup]     [Fedora]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]