LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Difference between make mrproper and make clean? (https://www.linuxquestions.org/questions/slackware-14/difference-between-make-mrproper-and-make-clean-473144/)

hottdogg 08-11-2006 10: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-11-2006 11:10 PM

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-11-2006 11:17 PM

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 02:25 AM

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

regards

kodon 08-12-2006 02: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 02: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.

Source: http://www.linuxchix.org/content/cou...acking/lesson3

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 06:53 AM.