Re: Stop the Linux kernel madness

From: Horst von Brand
Date: Mon Jun 21 2004 - 08:13:45 EST


Hannu Savolainen <hannu@xxxxxxxxxxxxx> said:
> On Fri, 18 Jun 2004, Roman Zippel wrote:
>
> > To quote from your previous mail:
> >
> > > make -C /lib/modules/`uname -r`/build scripts scripts_basic include/linux/version.h
> >
> > That doesn't really like documented interfaces to me.
> Right. The documented command is "make install". However an undocumented
> detail is that that doesn't work with "virgin" kernel sources (nothing
> compiled yet). The above command seems to be needed to prepare the source
> tree for building the module. The "documented" alternative would be full
> make in the kernel source tree but that is massive overkill (in addition
> it doesn't work with most distribution kernels).

make modules_prepare
--
Dr. Horst H. von Brand User #22616 counter.li.org
Departamento de Informatica Fono: +56 32 654431
Universidad Tecnica Federico Santa Maria +56 32 654239
Casilla 110-V, Valparaiso, Chile Fax: +56 32 797513
-
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/