Skip to contentSkip to conversation

HELP: Building System

DISCUSSION Paolo Ornati 2 participants 2 messages Mar 20, 2003

lore
Share & tools
lore
#0 lore raw

I think that the available Documentetion about "REcompiling a kernel" is a little confusing (about the use of "make clean").

EXAMPLES:

source: "The Linux Kernel HOWTO"
...When the configure script ends, it also tells you to make dep' and (possibly) clean'...

...For older versions of the kernel, when finished, you should do a `make clean'...

...In any case, do not forget this step before attempting to recompile a kernel.

possibly?
only for older versions of kernel?
in any case?
WHEN?

source: www.linuxchix.org
...Sometimes, you'll change things so much that "make" can't figure out how to recompile the files correctly. "make clean" will remove all the object files (ending in .o) and a few other things...

ok, this seems more convincing...

Can anyone be more clear?

Bye,
Paolo

#1 lore raw
Quoted 2 lines · Paolo Ornati

I think that the available Documentetion about "REcompiling a kernel" is a little confusing (about the use of "make clean").

Did you try to read README in the top-level directory?

Anyway "make clean" deletes most of the generated files, but most important leaves the actual .config.
"make mrproper" cleans up stuff even more, but remember to save/restore .config when using "make mrproper".

Sam