Re: why so many unexported headers checking __KERNEL__?

From: Robert P. J. Day
Date: Wed Mar 26 2008 - 09:37:38 EST



On Wed, 26 Mar 2008, David Woodhouse wrote:

> On Wed, 2008-03-26 at 09:16 -0400, Robert P. J. Day wrote:
> > well, since i already have the output from my script, i might toss
> > together some per-directory patches to start removing some of that.
> > this sounds more like a one-shot thing than adding permanent checking
> > to the build process.
>
> Makes sense.
>
> Remember, one of our goals is to move towards having files which are
> just _copied_ (header-y) instead of having these ifdefs. If, in your
> travels, you see a way you can split headers up more sensibly to
> achieve that, it would be good.

just in case anyone was curious, i've attached my Kbuild checking
script. i'm guessing it's pretty self-explanatory -- you can get an
idea of the condition of the header files at the moment.

rday
--

========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry:
Have classroom, will lecture.

http://crashcourse.ca Waterloo, Ontario, CANADA
========================================================================

Attachment: check_kbuild.sh
Description: Bourne shell script