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 ?
|
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.
|
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
|
mrproper cleans the .config file.
what make clean does ??? regards |
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 |
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. |