Carlos E. R. wrote:
> The Sunday 2007-12-02 at 06:52 -0600, Rajko M. wrote:
>> Carlos:
>> make mrproper is valid target if you want to remove all traces of previous
>> compilation(s) and start from scratch, if it breaks something it is better to
>> know at that stage than later when kernel doesn't work properly.
>
> It is a valid target when you get the sources elsewhere, add bits and
> ends, etc.
No. It's a valid Makefile target for all Linux kernels, including SuSE
kernels.
> It is not needed if you just install the source rpm from suse, which comes
> already cleaned. It can delete customizations, too: the only time I used
> it deleted my own config files and notes, and some of suse's files. I had
> to reinstall the sources. It deletes *anything* it thinks doesn't belong
> on the kernel.
No. It deletes everything that can be reproduced, including a .config, a
version.h, and utsrelease.h. That's the purpose of this Makefile target.
After running a "make mrproper", the source tree is in a clean state.
There's no need to reinstall the source, all Linux kernel source is
still on disk (however, the kernel source is unconfigured at that point).
> If you need to clean a previous compilation, use "make clean". That's more
> than enough.
No. For instance, configure the kernel source in the source tree. Later
on, try to use a build directory. It won't work and the kernel build
system will tell you something like this:
make -C /kernel/source O=/kernel/build
Using /kernel/source as source for kernel
/kernel/source is not clean, please run 'make mrproper'
in the '/kernel/source' directory.
> I have been making my own kernels for years and I never use mrproper. SuSE
> does not recomend it in their own instructions. It's not even mentioned.
So what? Many things aren't mentioned in the SuSE documentation, but
nevertheless those things can be quite useful. I use "make mrproper" a lot.
Th.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]