Re: missing elfconfig.h

From: Sam Ravnborg
Date: Sat Jun 09 2007 - 04:54:11 EST


On Sat, Jun 09, 2007 at 03:57:30AM -0400, Robert P. J. Day wrote:
> On Sat, 9 Jun 2007, Jan Engelhardt wrote:
>
> >
> > On Jun 8 2007 22:19, Sam Ravnborg wrote:
> > >On Fri, Jun 08, 2007 at 09:08:36AM -0400, Rich Chase wrote:
> > >> An Apparent bug:
> > >> version 2.6.21.3
> > >> missing the file ./scripts/mod/elfconfig.h
> > >
> > >To build an external module you need to point to a directory
> > >where a fully build kernel is placed.
> > >
> > >You could do a full build and then a "make clean",
> > >this would still let you build external modules.
> >
> > Is not "make prepare" enough?
>
> technically, you want to run "make modules_prepare" on the tree, after
> doing a configuration.

Yep - had forgotten about that target.
Was you btw. planning to write up a kbuild HOWTO one day?

It would be nice to point to some kind of docs for such questions.

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