make mrproper, etc

Brett I. Holcomb brettholcomb
Mon May 17 11:43:05 PDT 2004


Thank you.  I will file this.  I've been following directions but I'd like to know why - it might help someday <G>.


On Sat, 11 Jan 2003 15:35:16 -0500
"David A. Bandel" <david at pananix.com> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Sat, 11 Jan 2003 15:04:30 -0500
> begin  "Brett I. Holcomb" <brettholcomb at charter.net> spewed forth:
> 
> > What exactly do the following commands do.  I've seem them in the
> > StepxStep and other guides but haven't seen an explanation of them.
> > 
> > make clean
> 
> this doesn't go here
> 
> > make distclean
> 
> you don't need this -- this supercleans and prepares for turning things
> into a tarball
> 
> > make mrproper
> 
> this does the same as make clean (removes *.o files) but also removes
> symlinks down in include/
> 
> you need a make [x|menu|old]config
> 
> goes through kernel configuration
> 
> > make dep
> 
> make dependencies (puts in symlinks in include/, etc.)
> 
> > make clean bzImage
> 
> this is two commands:  make clean: removes *.o and linked files (compiled
> binaries)
> 
> make bzImage:  builds the kernel
> 
> > make modules (I assume this builds anything I've defined as being a
> 
> yep
> 
> > module) make modules_install (This installs the module in /lib/modules/*
> > ???)
> 
> yep (and runs a `depmod -a $kernel_version`)
> 
> > 
> > When I am rebuilding my kernel do I need make clean, make distclean, and
> > make mrproper?
> 
> depends.  you probably only need the make clean (between the make dep and
> make bzImage)
> 
> however, if you go from a uni- to multi- processor (or worse from a multi-
> to a uni- ) you _must_ do a make mrproper (this will also erase your
> .config file created during the make [menu|x|old]config process from the
> previous kernel build (so be sure to save .config if you want to preserve
> what you have).
> 
> you don't need distclean
> 
> Ciao,
> 
> David A. Bandel
> - -- 
> Focus on the dream, not the competition.
> 		-- Nemesis Racing Team motto
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.1 (GNU/Linux)
> 
> iD8DBQE+IIAE3uVcotqGMQcRAjVAAJ9poowRcN/YyUZJCKK9+171H/iW6ACgxGaJ
> vpoPVcUIR53WMumPuY+zJbM=
> =8UUk
> -----END PGP SIGNATURE-----


More information about the Linux-users mailing list