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

From: Sam Ravnborg
Date: Sun Sep 27 2009 - 04:44:19 EST


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