Re: [PATCH] make make install install modules too

From: Cal Peake
Date: Mon Sep 27 2004 - 11:42:34 EST


On Mon, 27 Sep 2004, Jesper Juhl 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.
> > >
>
> 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.

indeed, this should do what you want

$ cat ~/bin/installkernel

#!/bin/sh

cp .config /boot/config-$1
cp $3 /boot/System.map-$1
cp $2 /boot/vmlinuz-$1
make modules_install

-- Cal

-
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/