-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Sascha Noyes wrote on Tue, Dec 17, 2002 at 06:06:09PM -0500 :
> >
> > Do you make mrproper as the first step?  Move .config out of the way if
> > you want to use it or use /boot/config but mrproper should be the first
> > step.
> Sorry but I have no idea what 'make mrproper' is. Do you mean use it before 
> 'make xconfig'? 

He did a great job of explaining it, let me give you a little bit more
to explain _why_ Mandrake requires this.  From
/usr/share/doc/kernel-2.4.20.2mdk-1/README.Mandrake:



         Mandrake Kernel Compile Special Instructions



Due to the way that Mandrake generates multiple versions of the kernel
(uniprocessor, smp, enterprise, boot, secure), recompiling the kernel
from the kernel source installed in /usr/src/linux *MUST* be preceded 
by one step:

    make mrproper

This is roughly equivalent to "make distclean", but not quite.  The
best explanation of why this scenario exists appeared in the Cooker
Mailing List by Andrej Borsenkow:

    PLEASE do not forget - you must not need to configure your kernel 
    before you compile EXTERNAL module (as example, nVidia). PLEASE 
    remember that Mandrake has 5 (five!) kernel flavours and you can 
    compile external modules for any of them WITHOUT RECONFIGURATION 
    IN BETWEEN. PLEASE look into this "regenrated files" in clean 
    kernel-source and after you have reconfigured your kernel.

To summarize, the kernel source tree is left in a state such that you 
compile custom kernel modules for any of the five versions of the
kernel without having to do anything special.  One of the side effects
of this is that if you want to start a compile from scratch, you must
remove various configuration files (as well as object files and 
binaries).  To do this, you *MUST* do the "make mrproper" first.

Regards, the MandrakeSoft Team
- -- 
           MandrakeSoft USA   http://www.mandrakesoft.com
Mandrake: An amalgam of good ideas from RedHat, Debian, and MandrakeSoft.
All in all, IMHO, an unbeatable combination.   --Levi Ramsey on Cooker ML
   Cooker Version mandrake-release-9.1-0.1mdk Kernel 2.4.20-2mdk
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+ASJLlp7v05cW2woRArzRAJ0Q8u7m50JPgMJJ06KH30f0ppJ5HwCeIPBE
OPTvg6+5VPb3Yp+9QIRxCTs=
=RQdM
-----END PGP SIGNATURE-----

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to