Re: Make modules_install doesn't create /lib/modules/$version

From: Martin Schlemmer
Date: Mon Sep 22 2003 - 08:14:01 EST


On Mon, 2003-09-22 at 12:55, Rob Landley wrote:

> > In any event, make modules_install before make install works
> > and has always worked for me on RH systems.
>
> You're right:
>
> make modules_install install works.
> make install modules_install does not.
>
> Good to know.
>
> > >I've been bitten by this before, by the way. I switched from an
> > > accidental SMP kernel to a UP kernel on my laptop, and the install
> > > complained about
> >
> > rm -f /lib/modules/$KERNELVERSION; make modules_install
>
> That's what I did after I was bitten, yes.
>
> > >unresolved SMP symbols in the modules. (This is how I got in the habit of
> > >doing make modules_install before make install, which I thought might also
> > > be responsible for the directory creation problem, but wasn't. Neither
> > > creates the directory: depmod does).
> >
> > depmod does not create any directories, 'make modules_install' does.
>
> Although make install dies on a red hat 9 system trying to look at the modules
> directory if modules_install isn't done first. Maybe it's an RH 9 bug. I
> was actually kind of surprised that we almost do "./configure;make;make
> install" now, yet make install doesn't install modules. Is there a reason
> make install does NOT install modules for a modular kernel?
>

I also always use 'make modules_install install' to do things,
so it might not be RH9 related only. I will have a look tonight.


Thanks,

--
Martin Schlemmer


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