LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-11-2006, 10:18 PM   #1
hottdogg
Member
 
Registered: Aug 2004
Distribution: opensuse ,debian/ubuntu
Posts: 222

Rep: Reputation: 30
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 ?
 
Old 08-11-2006, 11:10 PM   #2
vls
Member
 
Registered: Jan 2005
Location: The grassy knoll
Distribution: Slackware,Debian
Posts: 192

Rep: Reputation: 31
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.
 
Old 08-11-2006, 11:17 PM   #3
musicman_ace
Senior Member
 
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555

Rep: Reputation: 46
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
 
Old 08-12-2006, 02:25 AM   #4
b0nd
Senior Member
 
Registered: Jan 2005
Distribution: Slackware, BackTrack, Windows XP
Posts: 1,020

Rep: Reputation: 45
mrproper cleans the .config file.
what make clean does ???

regards
 
Old 08-12-2006, 02:46 AM   #5
kodon
Member
 
Registered: Jul 2004
Location: [jax][fl][usa]
Distribution: Slackware64-current
Posts: 796

Rep: Reputation: 31
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
 
Old 03-11-2013, 02:31 PM   #6
hicham007
LQ Newbie
 
Registered: May 2005
Location: canada
Distribution: SuSE 8.0
Posts: 9

Rep: Reputation: 1
Thumbs up 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
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
make: *** No rule to make target `mrproper'. Stop. dauphinfay Linux - General 7 11-24-2014 07:35 AM
what is the difference between make distclean and make clean? alice95089 Linux - Software 3 08-28-2008 01:22 AM
Use of 'make mrproper' and 'make clean'.... fenice1976 Linux - Software 6 05-25-2004 05:18 PM
Difference between make clean and uninstall tuka Linux - Newbie 2 08-23-2003 07:25 AM
make dep,make clean,make bzImage problem Babba Linux - Newbie 2 01-08-2003 03:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration