[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <alpine.LFD.1.00.0803260935460.7900@localhost.localdomain>
Date: Wed, 26 Mar 2008 09:37:09 -0400 (EDT)
From: "Robert P. J. Day" <rpjday@...shcourse.ca>
To: David Woodhouse <dwmw2@...radead.org>
cc: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: why so many unexported headers checking __KERNEL__?
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
========================================================================
Download attachment "check_kbuild.sh" of type "APPLICATION/x-sh" (1421 bytes)
Powered by blists - more mailing lists