Re: RFC: cleaning up the in-kernel headers

From: David Woodhouse
Date: Tue Jul 11 2006 - 17:02:21 EST


On Tue, 2006-07-11 at 18:33 +0100, Christoph Hellwig wrote:
> On Tue, Jul 11, 2006 at 05:28:43PM +0100, David Woodhouse wrote:
> > It would be nice in the general case if we could actually _compile_ each
> > header file, standalone. There may be some cases where that doesn't
> > work, but it's a useful goal in most cases, for bother exported headers
> > _and_ the in-kernel version. For the former case it would be nice to add
> > it to 'make headers_check' once it's realistic to do so.
>
> That would be extremly valueable. Maybe one of the kbuild gurus could
> cook up a make checkheaders rule that does this?

We already have it for _exported_ headers -- run 'make headers_check'.
It doesn't do much yet though.

--
dwmw2

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