LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-25-2004, 04:44 PM   #1
fenice1976
Member
 
Registered: May 2004
Distribution: MDK 9.2 - Kernel 2.4.22mdk
Posts: 108

Rep: Reputation: 15
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
 
Old 05-25-2004, 04:51 PM   #2
LavaDevil94
LQ Guru
 
Registered: Jul 2003
Distribution: Gentoo 2004.2: Who needs exmmpkg when you have emerge?
Posts: 1,795

Rep: Reputation: 47
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.
 
Old 05-25-2004, 04:53 PM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
How about

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


Cheers,
Tink
 
Old 05-25-2004, 04:53 PM   #4
fenice1976
Member
 
Registered: May 2004
Distribution: MDK 9.2 - Kernel 2.4.22mdk
Posts: 108

Original Poster
Rep: Reputation: 15
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?
 
Old 05-25-2004, 04:58 PM   #5
fenice1976
Member
 
Registered: May 2004
Distribution: MDK 9.2 - Kernel 2.4.22mdk
Posts: 108

Original Poster
Rep: Reputation: 15
The command shown less /usr/src/linux/Makefile/mrproper does not work....
can u tell me the right command? thanks :-D
 
Old 05-25-2004, 05:14 PM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Put your linux source in the right place ;)



Cheers,
Tink
 
Old 05-25-2004, 05:18 PM   #7
fenice1976
Member
 
Registered: May 2004
Distribution: MDK 9.2 - Kernel 2.4.22mdk
Posts: 108

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


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
what is the difference between make distclean and make clean? alice95089 Linux - Software 3 08-28-2008 01:22 AM
make mrproper needed? Samoth Linux - General 5 11-28-2005 07:07 AM
make clean, make dep problem carscht Linux - Newbie 2 02-21-2004 10:32 AM
'make mrproper' - make bzImage options. liguorir Linux - Software 4 06-26-2003 06:48 PM
make dep,make clean,make bzImage problem Babba Linux - Newbie 2 01-08-2003 03:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:51 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