-   Slackware (
-   -   Difference between make mrproper and make clean? (

hottdogg 08-11-2006 11:18 PM

Difference between make mrproper and make clean?
What's the difference between make mrproper and make clean in kernel 2.4 source's Makefile? which should I use if in the middle of make, I want to return to the base state. make mrproper or make clean ?

vls 08-12-2006 12:10 AM

I believe mrproper takes you back to a pristine state, i.e., any configuration you set is whacked. make clean just deletes the compiled files. It's been awhile since I compiled a kernel so I might be wrong.

musicman_ace 08-12-2006 12:17 AM

I 2nd his synopsis, I believe its along those lines as well. Both clean up the kernel tree structure, but each does a little bit different cleaning

b0nd 08-12-2006 03:25 AM

mrproper cleans the .config file.
what make clean does ???


kodon 08-12-2006 03:46 AM

from the Makefile:

# Cleaning is done on three levels.
# make clean Delete most generated files
# Leave enough to build external modules
# make mrproper Delete the current configuration, and all generated files
# make distclean Remove editor backup files, patch leftover files and the like

hicham007 03-11-2013 03:31 PM

The right answer
make clean will remove all the object and kernel object files (ending in .o and .ko) and a few other things.
make mrproper will do everything make clean does, plus remove your config file, the dependency files, and everything else that make config creates.


NB: if you r not sure about the answer please do not post, and if you do please join the source from which you find the info. Thanks

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