Re: [PATCH] make make install install modules too

From: Jesper Juhl
Date: Mon Sep 27 2004 - 07:31:35 EST


On Mon, 27 Sep 2004, Matthew Wilcox wrote:

> Date: Mon, 27 Sep 2004 12:37:27 +0100
> From: Matthew Wilcox <matthew@xxxxxx>
> To: Matthew Wilcox <willy@xxxxxxxxxx>, Linus Torvalds <torvalds@xxxxxxxx>,
> Andrew Morton <akpm@xxxxxxxxxx>, linux-kernel@xxxxxxxxxxxxxxx
> Subject: Re: [PATCH] make make install install modules too
>
> On Mon, Sep 27, 2004 at 09:22:46AM +0200, Sam Ravnborg wrote:
> > On Fri, Sep 17, 2004 at 06:00:51PM +0100, Matthew Wilcox wrote:
> > >
> > > I keep forgetting to run 'make modules_install' after make install. Since
> > > make now compiles modules too and there's no separate make modules step,
> > > it seems to make sense that make install should also install modules.
> >
> > No, we do not want to change such basic behaviour.
> > So many poeple are used to current scheme with:
> > make modules_install && make install
> >
> > that it would't be worth breaking their ways of working.
>
> Ehm, this wouldn't _break_ them. They'd just end up installing modules
> twice.
>

And how about people who, for some reason, don't want the modules
installed?
Sure, you can just copy the files you want by hand, which is what I do
personally, but I find it nice that installing the kernel image and
modules are two sepperate steps. If a user wants both done automagically,
then that user could just create a 2 line shell script.

Or how about leaving "make install" and "make modules_install" as is and
add a new target, say, "make install_all" or similar?


--
Jesper Juhl <juhl-lkml@xxxxxx>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/