Red Hat Kernel - mrproper

This is Interesting: Free IT Magazines  
Home > Archive > Red Hat Kernel > January 2004 > mrproper





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author mrproper
news

2004-01-23, 7:26 pm

I was having problem compiling my custom RH9.0 2.4.20-18.9 kernel. Make
modules kept failing. Then I read a post in this group about running make
mrproper. Make modules then worked. Exactly what does it do? I tried to
research this but have been unable to find an explanation I understand.
thx.

--
kd


Alexander Dalloz

2004-01-23, 7:26 pm

news <news@group.com> wrote:
quote:

> I was having problem compiling my custom RH9.0 2.4.20-18.9 kernel. Make
> modules kept failing. Then I read a post in this group about running make
> mrproper. Make modules then worked. Exactly what does it do? I tried to
> research this but have been unable to find an explanation I understand.
> thx.



make mrproper cleans up the kernel source tree

mrproper: clean archmrproper
find . \( -size 0 -o -name .depend \) -type f -print | xargs rm -f
rm -f $(MRPROPER_FILES)
rm -rf $(MRPROPER_DIRS)
$(MAKE) -C Documentation/DocBook mrproper

just inspect Makefile in /usr/src/$kerneltree/ and grep for mrproper

Alexander


--
Alexander Dalloz | Enger, Germany
PGP key valid: made 13.07.1999
PGP fingerprint: 2307 88FD 2D41 038E 7416 14CD E197 6E88 ED69 5653
news

2004-01-23, 7:26 pm


"Alexander Dalloz" <alexander.dalloz@uni-bielefeld.de> wrote in message
news:be5e22$1fr45$1@ID-2108.news.dfncis.de...
quote:

> news <news@group.com> wrote:
>
make[QUOTE][color=darkred]
to[QUOTE][color=darkred]
>
> make mrproper cleans up the kernel source tree
>
> mrproper: clean archmrproper
> find . \( -size 0 -o -name .depend \) -type f -print | xargs rm -f
> rm -f $(MRPROPER_FILES)
> rm -rf $(MRPROPER_DIRS)
> $(MAKE) -C Documentation/DocBook mrproper
>
> just inspect Makefile in /usr/src/$kerneltree/ and grep for mrproper
>
> Alexander
>
>
> --
> Alexander Dalloz | Enger, Germany
> PGP key valid: made 13.07.1999
> PGP fingerprint: 2307 88FD 2D41 038E 7416 14CD E197 6E88 ED69 5653




That's what I thought make clean did. Live and learn.



J.O. Aho

2004-01-23, 7:26 pm

news wrote:
[QUOTE][color=darkred]

'make clean' removes *.o and the fully compiled files, 'make mrproper' removes
files that has information about your system and the options that has been
choose in the 'make somethingconfig'.


//Aho

news

2004-01-23, 7:26 pm


"J.O. Aho" <user@example.net> wrote in message
news:be5npl$1fejp$1@ID-130698.news.dfncis.de...
quote:

> news wrote:
>
>
> 'make clean' removes *.o and the fully compiled files, 'make mrproper'


removes
quote:

> files that has information about your system and the options that has been
> choose in the 'make somethingconfig'.
>
>
> //Aho
>



Why does RH ship the kernel sources with system specific information which
forces users to run mrproper? I had an some idea from the make modules
failures that something "system specific" was being compiled in error but I
didn't know what to turn off or on in make menuconfig. I guess its
essential that mrproper is executed first, right?


J.O. Aho

2004-01-23, 7:26 pm

news wrote:
quote:

> Why does RH ship the kernel sources with system specific information which
> forces users to run mrproper? I had an some idea from the make modules
> failures that something "system specific" was being compiled in error but I
> didn't know what to turn off or on in make menuconfig. I guess its
> essential that mrproper is executed first, right?



I'm not sure it has anything lke that, but if it has, it comes from the way
that the RPM packages is made (both binary and source packages are made at the
same time), I think even kernel.org do say that you should run 'make mrproper'
on a fresh source.


//Aho

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com