Re: [PATCH] warn about use of uninstalled kernel headers

Sam Ravnborg
2009-09-27T08:44:07Z

On Mon, Sep 21, 2009 at 04:37:12PM +0200, Arnd Bergmann wrote:
> On Friday 18 September 2009, Sam Ravnborg wrote:
> > > > I think we should no longer have the include2 directory at all with new kernels.
> > > >
> > > > LINUXINCLUDE already contains the right path in theory:
> > > >
> > > > LINUXINCLUDE := -Iinclude \
> > > > $(if $(KBUILD_SRC),-Iinclude2 -I$(srctree)/include) \
> > > > -I$(srctree)/arch/$(hdr-arch)/include \
> > > > -include include/linux/autoconf.h
> > >
> > > Hmm, at least in mmotm, we still have include2...
> > >
> > > Maybe Sam is queueing the patches to remove include2?
> > I have them queued - yes.
> > But as they never hit -next they will wait another cycle.
>
> Variations of this are starting to turn into a FAQ. How about
> printing a useful warning when someone tries to use the kernel
> headers without installing them first?

OK - applied.

Sam