LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Use of 'make mrproper' and 'make clean'.... (https://www.linuxquestions.org/questions/linux-software-2/use-of-make-mrproper-and-make-clean-185790/)

fenice1976 05-25-2004 04:44 PM

Use of 'make mrproper' and 'make clean'....
 
After reading many times the new kernel how-to and compiling the kernel I still wonder....what's the use of

make mrproper

and

make clean

I wanna write a clear kernel how-to in italian and I'd like to know that.

Thansk :-D

LavaDevil94 05-25-2004 04:51 PM

Dont really know what make mrproper is for, but I think make clean is to clear out all the .o or .ko or any binaries left hanging around out of the source directory. It makes sure that your next compile is 'clean', in the way that it makes sure you have no old stale modules hanging around.

Tinkster 05-25-2004 04:53 PM

How about

less /usr/src/linux/Makefile
/mrproper
Shft+p
/clean


Cheers,
Tink

fenice1976 05-25-2004 04:53 PM

Well, so during and even after compilation many .o and .ko files are created in the same dir where the source code is unpacked right? Ok...

And does really nobodu know what mrproper does?

fenice1976 05-25-2004 04:58 PM

The command shown less /usr/src/linux/Makefile/mrproper does not work....
can u tell me the right command? thanks :-D

Tinkster 05-25-2004 05:14 PM

Put your linux source in the right place ;)



Cheers,
Tink

fenice1976 05-25-2004 05:18 PM

It's in the right place but it's linux-KERNEK_VERSION instead of linux simply...anyway now i'm retrying :-)


All times are GMT -5. The time now is 11:10 PM.