2002-09-18 14:10:03

by Rob Ransbottom

[permalink] [raw]
Subject: PROBLEM: Clumsey make, README


After many, many kernel rebuilds for hardware additions
and replacements. Usually on the same kernel version.
An idea forced its way into my preoccupied mind.

Why not build all the modules whether I need them or
not? Then if I need a module in the future it is
waiting under /lib/modules.

So I am asking if a:

make all_modules

directive exists or should be added.
Anyone with the disk space might find this
convenient. Then you could make all_modules &
make modules_install before building your kernel.

If such exists it should be mentioned in the README.


Thank you for the good software,


rob Live the dream.


2002-09-18 15:44:10

by Sam Ravnborg

[permalink] [raw]
Subject: Re: PROBLEM: Clumsey make, README

On Wed, Sep 18, 2002 at 10:22:47AM -0400, Rob Ransbottom wrote:
> So I am asking if a:
>
> make all_modules
You can do:
make allmodconfig
make

> If such exists it should be mentioned in the README.
Try
make help

Only kernel 2.5..

Sam

2002-09-18 17:38:40

by Rob Ransbottom

[permalink] [raw]
Subject: Re: PROBLEM: Clumsey make, README

On Wed, 18 Sep 2002, Sam Ravnborg wrote:

> On Wed, Sep 18, 2002 at 10:22:47AM -0400, Rob Ransbottom wrote:

> You can do:
> make allmodconfig
> make

My idea was that if this didn't use the .config file
it would be very convenient for naive users.
They could "make all_modules; make modules_install; "and
not disrupt their kernel config.

> make help
> Only kernel 2.5..

Thanks, I am currently moving to 2.4.
It is nice to look forward to something.

rob Live the dream.

2002-09-19 21:15:54

by Adrian Bunk

[permalink] [raw]
Subject: Re: PROBLEM: Clumsey make, README

On Wed, 18 Sep 2002, Rob Ransbottom wrote:

> After many, many kernel rebuilds for hardware additions
> and replacements. Usually on the same kernel version.
> An idea forced its way into my preoccupied mind.
>
> Why not build all the modules whether I need them or
> not? Then if I need a module in the future it is
> waiting under /lib/modules.
>
> So I am asking if a:
>
> make all_modules
>
> directive exists or should be added.
> Anyone with the disk space might find this
> convenient. Then you could make all_modules &
> make modules_install before building your kernel.
>...

This sounds like a good idea. But one problem I could imagine is that you
can build several different versions of a module, e.g.:

<M> Reiserfs support
[ ] Enable reiserfs debug mode
[ ] Stats in /proc/fs/reiserfs

If you build all modules you have 2x2=4 possibilities to build the
Reiserfs module and the question whether to enable the debug mode or not
has a big impact on the performance.

> rob Live the dream.

cu
Adrian

--

You only think this is a free country. Like the US the UK spends a lot of
time explaining its a free country because its a police state.
Alan Cox